Create a new fragment

Authentication

AuthorizationBearer
Contentful Management API token

Path parameters

spaceIdstringRequired
environmentIdstringRequired

Query parameters

access_tokenstringOptional

Request

Body
namestringRequired
descriptionstringRequired
viewportslist of objectsRequired
designPropertiesmap from strings to maps from strings to objectsRequired
dimensionKeyMapobjectRequired
componentTypeobjectRequired
contentBindingsobjectOptional
metadataobjectOptional
slotsmap from strings to lists of objectsOptional

Response

201
sysobject
namestring
descriptionstring
viewportslist of objects
designPropertiesmap from strings to maps from strings to objects
dimensionKeyMapobject
contentBindingsobject
metadataobject
slotsmap from strings to lists of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error