Create metadata
POST https://{{base_url}}/v3/metadata
The Create metadata request lets you create metadata for a specific asset or entry. Whenever you create metadata for an entry or asset, you need to specify the extension to which it will be connected.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Create metadata API Reference document
Request Body
{"metadata"=>{"entity_uid"=>"bltcbdfb3f254446076", "type"=>"entry", "_content_type_uid"=>"sample_content", "extension_uid"=>"blt8c723a09fdd0b25e", "presets"=>[{"uid"=>"d9300b22-f37d-4b25-93df-fc0395d62814", "name"=>"Test1"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | Enter "application/json" to pass a Request body. | |
branch | string | Enter your branch or alias unique ID. |