Agorapulse · Schema
CreateSimpleDraftOpenRequest
Request to create a simple draft
Social Media ManagementSocial MediaCRMAnalyticsPublishingInbox ManagementSocial Listening
Properties
| Name | Type | Description |
|---|---|---|
| text | string | Text content of the draft |
| type | object | Type of the post |
| link | string | Link URL to be included in the post |
| labels | array | Set of labels/tags to categorize the draft |
| mediaUrls | array | List of media URLs (images, videos) to be included |
| scheduling | array | Scheduling configuration for different profiles |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateSimpleDraftOpenRequest",
"required": [
"type"
],
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text content of the draft",
"example": "This is my social media post"
},
"type": {
"type": "object",
"description": "Type of the post",
"allOf": [
{
"$ref": "#/components/schemas/PostType"
},
{
"type": "object"
}
]
},
"link": {
"type": "string",
"description": "Link URL to be included in the post",
"example": "https://example.com"
},
"labels": {
"type": "array",
"description": "Set of labels/tags to categorize the draft",
"example": [
"marketing",
"promotion"
],
"items": {
"type": "string"
}
},
"mediaUrls": {
"type": "array",
"description": "List of media URLs (images, videos) to be included",
"example": [
"https://example.com/image.jpg"
],
"items": {
"type": "string"
}
},
"scheduling": {
"type": "array",
"description": "Scheduling configuration for different profiles",
"items": {
"$ref": "#/components/schemas/CreateSimpleDraftOpenRequest.ProfileScheduling"
}
}
},
"description": "Request to create a simple draft"
}