PubNio calls Pinterest’s GET /media/{media_id} (media/get) to wait for an uploaded video to finish processing.
How PubNio calls it
- Publishing:
POST /api/v1/posts(unless it saves a draft),POST /api/v1/posts/{postId}/publish, orPOST /api/v1/posts/{postId}/targets/{targetId}/retrystarts the delivery. - PubNio reads the media
statusup to 30 times, 2 seconds apart.succeededlets the Pin be created andfailedrefuses the delivery.
Scopes
- The pinned spec lists one scope:
pins:read. - PubNio’s Pinterest sign-in requests every one of them.
- Before a delivery makes this call, PubNio checks that the account granted
pins:write.
Errors
PubNio has no Pinterest error code pages yet. Provider error codes covers the providers that have them.
Spec and changes
media/get in the pinned spec, revision 5c6c1fc9a6dbdee1df537f3f805f09262c496917.
Refreshed by hand: no weekly change record.
Limits
- When processing outlasts the polls, the delivery is uncertain and PubNio does not create the Pin.