media
Migrate Media URL
Changed onConverts a legacy storage.googleapis.com attachment URL to the new Periskope media URL format. Also accepts an existing Periskope media URL to refresh its access token (e.g. after the link has expired).
The media object must belong to the organization of the API key used.
post/media/migrate-url
Request
- Base URLhttps://api.periskope.app/v1
- URLhttps://api.periskope.app/v1/media/migrate-url
- AuthHTTP bearer
Request body
Example request
{
"url": "https://storage.googleapis.com/periskope-attachments/2997dd64-89bf-48d3-9a22-b314fca017e5/919876543210/msg_ABCDEF123/file.jpg",
"expires_in_seconds": 86400
}Response
200 OK
Changes
- info
endpoint added
- info