Stories, WIP
NOTE
This page is a work in progress. Endpoints below haven't been fully researched.
Create story, WIP
Requires Authorization.
POST /v1/storiesBody:
mediaId— long integercaption— string, optionalaudience— objectoptions— array of strings, e.g.["EVERYONE"]myType— object, optionalageMin— integer, optionalageMax— integer, optionalpositions— array of sexual position IDs, optional
Get stories inbox, WIP
Requires Authorization.
Profiles with active stories.
GET /v1/stories/inboxQuery (optional):
pageNumber— integer, starts at1, optionalpageSize— integer, number of posters per page, optional
Response:
posters— array of objects ornullprofileId— long integerdisplayName— string ornullmediaHash— string, See Media -> Public CDN files -> Profile Images ornullonlineUntil— unix timestamp in milliseconds ornullhasUnviewed— booleanisFavorite— booleanrightNow— RightNowStatus ornullstories— array of objects ornullid— long integerprofileId— long integerdisplayName— string ornullmediaHash— string, See Media -> Public CDN files -> Profile Images ornullonlineUntil— unix timestamp in milliseconds ornulldistance— integer, appears to be in meters ornullmedia— StoryMedia ornullcaption— object ornulltext— string ornull
posted— unix timestamp in milliseconds ornullexpiration— unix timestamp in milliseconds ornullviewed— boolean
Errors:
404— Returned with an empty body; appears to mean Stories are not enabled for the account (nostories-v1assignment).
Get my stories, WIP
Requires Authorization.
GET /v1/stories/mineResponse:
stories— array of objects ornullid— long integerstatus— string,"PENDING","ACTIVE","REJECTED","EXPIRED"ornullmedia— StoryMedia ornullcaption— object ornulltext— string ornulltextStatus— string,"AWAITING_MODERATION","MODERATION_APPROVED","MODERATION_FAILED"ornullrejectReasons— array of strings:"BULLYING","SELF_HARM","DRUG_PATTERNS","HATE_SPEECH","SOL_SEX","SPAM_DISRUPT","UNDERAGE"ornull
posted— unix timestamp in milliseconds ornullexpiration— unix timestamp in milliseconds ornull
Errors:
404— Returned with an empty body; appears to mean Stories are not enabled for the account (nostories-v1assignment).
Get story, WIP
Requires Authorization.
GET /v1/stories/{storyId}Delete story, WIP
Requires Authorization.
DELETE /v1/stories/{storyId}Record story view, WIP
Requires Authorization.
POST /v1/stories/{storyId}/viewsGet profile stories, WIP
Requires Authorization.
GET /v1/stories/profiles/{profileId}StoryMedia
mediaId— long integer, optionalthumbnailUrl— string, optionalfullImageUrl— string, optionalstate— string,"PENDING","APPROVED","REJECTED","DELETED"ornull, optionalreason— string ornull, optionalisRejectAutomated— boolean ornull, optionalshouldBlur— boolean, optionalisNsfw— boolean, optional