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,["EVERYONE"]or any of"NEARBY","FAVORITES","MESSAGED","ALBUM_SHARED"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 Story ornull
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
Requires Authorization.
GET /v1/stories/{storyId}Response:
story— Story ornull
Errors:
404— Story not found or no longer available.
Delete story
Requires Authorization.
DELETE /v1/stories/{storyId}Record story view
Requires Authorization.
POST /v1/stories/{storyId}/viewsGet story reactions
Requires Authorization.
Lists the reactions that can be sent to a story.
GET /v1/stories/reactionsResponse:
reactions— array of objectsreactionId— string, sent back asreactionIdof a SendStoryReactionBodyunicode— string, appears to be space-separated code points such asU+1F525
Get 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
Story
id— long integer, optionalprofileId— long integer, optionaldisplayName— string ornull, optionalmediaHash— string, See Media -> Public CDN files -> Profile Images ornull, optionalonlineUntil— unix timestamp in milliseconds ornull, optionaldistance— integer, appears to be in meters ornull, optionalmedia— StoryMedia ornull, optionalcaption— object ornull, optionaltext— string ornull
posted— unix timestamp in milliseconds ornull, optionalexpiration— unix timestamp in milliseconds ornull, optionalviewed— boolean, optional
