cURL
curl --request PATCH \ --url https://app.promptingco.com/api/v1/content/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "priority": 50 }'
{ "ok": true, "data": { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z", "filePath": "<string>", "title": "<string>", "content": "<string>", "sourceUrl": "<string>", "cssSelector": "<string>", "sourceChecksum": "<string>", "brandId": "<string>", "cssExcludeSelector": "<string>", "isManual": true, "lastIndexedAt": "2023-11-07T05:31:56Z", "canonicalUrl": "<string>", "description": "<string>", "image": "<string>", "metaDescription": "<string>", "metaTitle": "<string>", "noIndex": true, "ogDescription": "<string>", "ogImage": "<string>", "ogTitle": "<string>", "twitterDescription": "<string>", "twitterImage": "<string>", "twitterTitle": "<string>", "descriptionForAgent": "<string>", "type": "<string>", "tags": [ "<string>" ], "currentDraftId": "<string>", "publishedAt": "2023-11-07T05:31:56Z", "status": "<string>", "priority": 123, "promptId": "<string>", "redirectToUrl": "<string>", "metadata": "<unknown>", "tiptapJson": "<unknown>" } }
Organization-scoped API key. Available scopes:
1
0 <= x <= 100
Successful response
true
Show child attributes