v1
Create media record by file name provided
post/v1/media
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"fileName": "812750e4-1cae-44e5-8212-a9a2f9776fca",
"title": "Skin damage media"
}Response
OK
Example response
{
"id": "059d52b6-b2b0-4bd1-97df-082b1e2196c1",
"createdAt": "2021-11-09T08:00:00.000Z",
"updatedAt": "2021-11-09T08:00:00.000Z",
"title": "Skin damage media",
"status": "AVAILABLE"
}Changes
No recorded changes to this operation across all 2 revisions of this API.