Upsert Item in Stream¶
This endpoint creates or updates an item’s properties in a stream.
Request¶
PATCH https://v2.api.uberflip.com/streams/{streamId}/items/{itemId}
Path Parameters | Description |
---|---|
streamId | The unique identifier of the stream |
itemId | The unique identifier of the item |
Body Parameters | Type | Description |
---|---|---|
ordinal | Integer | The new ordinal of the item in the stream |
featured | Boolean | Whether the item is featured |
Examples¶
curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
\"ordinal\": 3, \
\"featured\": true }" \
-i https://v2.api.uberflip.com/streams/17359/items/56516
Sample response:
HTTP/1.1 204 NO CONTENT
Content-Type: application/json