Read Type Update Operations Status

get

/content/management/api/v1.1/types/{name}/updateType/.status/{statusId}

Read Type Update Operations status.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : TypeUpdateOperationJobStatus
Type: object
TypeUpdateOperationJobStatus
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : Error
Type: object
Error
Show Source
Nested Schema : ResultType
Type: object
Result
Show Source
Nested Schema : Type
Type: object
AggregatedType
Show Source
Nested Schema : headers
Type: array
List of the HTTP headers of the response to the original async request
Show Source
Nested Schema : ResultHTTPStatus
Type: object
ResultHTTPStatus
Show Source
Nested Schema : allowedActions
Type: array
allowedActions on Type.
Show Source
  • Allowed Values: [ "preview", "read", "write", "update", "delete" ]
Nested Schema : allowedFileTypes
Type: array
Allowed list of file extensions supported by the type. It is a required property in the get response. It is optional in post/put request and defaults to [ContentItem] if the typeCategory is ContentType and defaults to empty if the typeCategory is DigitalAssetType .
Show Source
Nested Schema : ItemSubResourceListTypeField
Type: object
Item SubResource.
Show Source
Nested Schema : connectorInfos
Type: array
connectorInfos on Type.
Show Source
Nested Schema : fields
Type: array
Fields used in the type.
Show Source
Nested Schema : ItemSubResourceListInplacePreview
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListLayoutMapping
Type: object
Item SubResource.
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Type specific properties.
Nested Schema : ItemSubResourceTypeRelationships
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListRequiredTaxonomy
Type: object
Item SubResource.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : TypeField
Type: object
FieldInAggrType.
Show Source
Nested Schema : defaultValue
Type: object
defaultValue for field.
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Field specific properties. The field publishingDependency is specific for media and reference.
Example:
{caas-translation: {inheritFromMaster: false}, publishingDependency: optional}
Nested Schema : settings
Type: object
Additional Properties Allowed
Show Source
Field specific settings.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : ConnectorInfo
Type: object
ConnectorInfo
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : InplacePreview
Type: object
InplacePreview
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : LayoutMapping
Type: object
LayoutMapping
Show Source
Nested Schema : formats
Type: object
Additional Properties Allowed
Show Source
layout formats.
Nested Schema : additionalProperties
Type: object
Nested Schema : TypeRelationships
Type: object
Type Relationships
Show Source
Nested Schema : references
Type: array
Unique Items Required: true
Reference type names/ids
Show Source
Nested Schema : TypeReferences
Type: object
Type References bean
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : RequiredTaxonomy
Type: object
Show Source
Nested Schema : defaultCategories
Type: array
Show Source
Nested Schema : Category
Type: object
Show Source
Nested Schema : ResultHTTPHeader
Type: object
ResultHTTPHeader
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

409 Response

Conflict.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to read status of a type update operation by submission of a GET request using cURL.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/types/{name}/updateType/.status/{statusId}'

Example 1

This reads status of a successful type update operation for given {typename} with operation id: OP4C2BA99B626B4E43A4A64853D639F4CA.

/content/management/api/v1.1/types/{typename}/updateType/.status/OP4C2BA99B626B4E43A4A64853D639F4CA

Response Body

{
        "id": "OPE0ED029409F14E2FA6BE244D7BE0C1E9",
        "startTime": {
          "value": "2020-04-25T00:08:55.712Z",
          "timezone": "UTC"
        },
        "endTime": {
          "value": "2020-04-25T00:08:56.264Z",
          "timezone": "UTC"
        },
        "progress": "succeeded",
        "completed": true,
        "message": "Job Completed Successfully",
        "completedPercentage": 100,
        "result": {
          "status": {
            "code": 200,
            "reason": ""
          },
          "headers": [],
          "body": {
            "id": "698DADAFDD0841F38DD9FE9A4D38DA8C",
            "name": "Type1",
            "description": "",
            "typeCategory": "ContentType",
            "createdBy": "swebcli.SitesAdmin1.admin",
            "createdDate": {
              "value": "2020-04-22T03:01:59.188Z",
              "timezone": "UTC"
            },
            "updatedBy": "swebcli.SitesAdmin1.admin",
            "updatedDate": {
              "value": "2020-04-25T00:08:56.023Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "15560059AEB7487D95FDDB610EE03EE3",
                "name": "field1",
                "description": "field1",
                "datatype": "text",
                "required": true,
                "valuecount": "single",
                "defaultValue": "This is the default value for the field1",
                "properties": {
                  "caas-translation": {
                    "note": "",
                    "translate": true
                  }
                },
                "settings": {
                  "groupIndex": 0,
                  "caas": {
                    "description": "",
                    "valuecountRange": null,
                    "customValidators": [],
                    "editor": {
                      "name": "textbox",
                      "options": {}
                    }
                  }
                }
              },
              {
                "id": "E70C7D179A8A4A6F9C920C4F14177AA7",
                "name": "field2",
                "description": "field2",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {
                  "caas-translation": {
                    "note": "",
                    "translate": false
                  }
                },
                "settings": {
                  "groupIndex": 0,
                  "caas": {
                    "description": "",
                    "valuecountRange": null,
                    "customValidators": [],
                    "editor": {
                      "name": "textbox",
                      "options": {}
                    }
                  }
                }
              },
              {
                "id": "2B63F14BDCE54C768AED77C92EAF82D4",
                "name": "field3",
                "description": "field3",
                "datatype": "text",
                "required": true,
                "valuecount": "single",
                "properties": {
                  "caas-translation": {
                    "inheritFromMaster": true,
                    "note": "",
                    "translate": false
                  }
                },
                "settings": {
                  "groupIndex": 0,
                  "caas": {
                    "description": "",
                    "valuecountRange": null,
                    "customValidators": [],
                    "editor": {
                      "name": "textbox",
                      "options": {}
                    }
                  }
                }
              },
              {
                "id": "7353DFA594B64A80A5527F7765032F74",
                "name": "field4",
                "description": "field4",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {
                  "caas-translation": {
                    "inheritFromMaster": true,
                    "note": "",
                    "translate": false
                  }
                },
                "settings": {
                  "groupIndex": 0,
                  "caas": {
                    "description": "",
                    "valuecountRange": null,
                    "customValidators": [],
                    "editor": {
                      "name": "textbox",
                      "options": {}
                    }
                  }
                }
              }
            ],
            "properties": {
              "caas": {
                "slug": {
                  "enabled": false,
                  "pattern": "-{name}"
                }
              },
              "customEditors": [],
              "groups": [
                {
                  "title": "Content Item Data Fields",
                  "collapse": false
                }
              ]
            },
            "roleName": "manager",
            "links": [
              {
                "href": "https://<hostname>/content/management/api/v1.1/types/Type1",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              },
              {
                "href": "https://<hostname>/content/management/api/v1.1/types/Type1",
                "rel": "canonical",
                "method": "GET",
                "mediaType": "application/json"
              },
              {
                "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types/Type1",
                "rel": "describedby",
                "method": "GET",
                "mediaType": "application/schema+json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          }
        },
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types/Type1/updateType/.status/OPE0ED029409F14E2FA6BE244D7BE0C1E9",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types/Type1/updateType/.status/OPE0ED029409F14E2FA6BE244D7BE0C1E9",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types/Type1/updateType/.status/OPE0ED029409F14E2FA6BE244D7BE0C1E9",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          }
        ]
      }
    }
     
Back to Top