v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Posts

Update audio post

patch/posts/audio/{id}

Path parameters

idstring required

Headers

organizationstring required

The URL of the end-user web application

Request body

accessstring

Access level determines who can access this post

descriptionstring

Post description

entitlementsstring[]

String array containing IDs of products

featuredAtstring date-time

Date the poost was featured

mediastring

Media ID

pushNotificationstring date-time

Push notification

status'DRAFT' | 'PUBLISHED'

The status of the post. Enum

titlestring

Post title

kindstring

Kind

inFeedboolean

Is this post featured in the feed?

Example request

{
  "access": "EXCLUSIVE",
  "description": "<p>lorem ipsum dolor sit amet...</p>",
  "entitlements": [
    "5fbed4f6c4f0c56a9b63ad27"
  ],
  "featuredAt": "2023-02-14T12:58:15.043Z",
  "media": "5fbed4f6c4f0c56a9b63ad27",
  "status": "PUBLISHED",
  "title": "Fancy Photo",
  "kind": "paywall"
}

Response

Audio post updated.