media
Migrate Media URLs (Batch)
Changed onConverts up to 1000 legacy storage.googleapis.com attachment URLs (or existing Periskope media URLs) to the new Periskope media URL format in a single request.
Each URL succeeds or fails independently — results[i] corresponds to urls[i] in the request.
post/media/migrate-url/batch
Request
- Base URLhttps://api.periskope.app/v1
- URLhttps://api.periskope.app/v1/media/migrate-url/batch
- AuthHTTP bearer
Request body
Example request
{
"urls": [
"https://storage.googleapis.com/periskope-attachments/2997dd64-89bf-48d3-9a22-b314fca017e5/919876543210/msg_ABCDEF123/file.jpg",
"https://storage.googleapis.com/periskope-attachments/2997dd64-89bf-48d3-9a22-b314fca017e5/919876543210/msg_ABCDEF123/file-2.pdf"
],
"expires_in_seconds": 86400
}Response
200 OK
Changes
- info
endpoint added
- info