Get Component Type Authoring Form

Get Component Type Authoring Form

Get the authoring form for component type.

Request
URI
GET
https://{api_host}/composition-service/api/componenttypes/{id}/forms/author
COPY
Path Parameters
string
id
Required

The objectId of the component type.


Responses
200

Success - return the component type.

Returns form of type(s) */*
{
    "layout": {
        "pages": [
            {
                "id": "string",
                "label": "string",
                "state": {
                    "dependencies": [
                        "string"
                    ],
                    "facets": [
                        {}
                    ]
                },
                "sections": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "rows": [
                            {
                                "items": [
                                    {
                                        "size": 0
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "fieldPrefixes": [
        "string"
    ],
    "values": {
        "entries": [
            {
                "key": "string"
            }
        ]
    }
}
layout
Optional

layout

array of string
fieldPrefixes
Optional

fieldPrefixes

values
Optional

values


403

Forbidden.

Operation doesn't return any data structure

404

Component type or not found or has no authoring form.

Operation doesn't return any data structure