RenewPostUpload
POST
RenewPostUpload issues new upload URLs for a post whose earlier URLs expired or were interrupted. The post, its media and object keys are unchanged.
header
X-API-Key<token>API key for protected endpoints, supplied in the X-API-Key header.
project_id*project_idpost_id*post_idResponse Body
200application/json
Success
type: unknown
{
"$ref": "#/components/schemas/posts.v1.PostUpload",
"$ref-value": {
"type": "object",
"properties": {
"post_id": {
"type": "string",
"examples": [
"Mn0bVc9xZ8"
],
"title": "post_id"
},
"content_id": {
"type": "string",
"examples": [
"LmNoPqR678"
],
"title": "content_id"
},
"poster_id": {
"type": "string",
"examples": [
"Z9Y8X7W6V5"
],
"title": "poster_id"
},
"content_upload_url": {
"type": "string",
"examples": [
"https://cdn.example.com/upload"
],
"title": "content_upload_url"
},
"poster_upload_url": {
"type": "string",
"examples": [
"https://cdn.example.com/upload"
],
"title": "poster_upload_url"
},
"upload_expires": {
"examples": [
"2026-01-15T10:30:00Z"
],
"title": "upload_expires",
"$ref": "#/components/schemas/google.protobuf.Timestamp",
"$ref-value": {
"type": "string",
"examples": [
"2023-01-15T01:30:15.01Z",
"2024-12-25T12:00:00Z"
],
"format": "date-time",
"description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
}
}
},
"title": "PostUpload",
"additionalProperties": false
}
}default
curl -X POST 'https://api.rixl.com/posts/v1/projects/Bq4y3QB38S/posts/Mn0bVc9xZ8/upload/renew'Success
application/json
{
"$ref": "#/components/schemas/posts.v1.PostUpload",
"$ref-value": {
"type": "object",
"properties": {
"post_id": {
"type": "string",
"examples": [
"Mn0bVc9xZ8"
],
"title": "post_id"
},
"content_id": {
"type": "string",
"examples": [
"LmNoPqR678"
],
"title": "content_id"
},
"poster_id": {
"type": "string",
"examples": [
"Z9Y8X7W6V5"
],
"title": "poster_id"
},
"content_upload_url": {
"type": "string",
"examples": [
"https://cdn.example.com/upload"
],
"title": "content_upload_url"
},
"poster_upload_url": {
"type": "string",
"examples": [
"https://cdn.example.com/upload"
],
"title": "poster_upload_url"
},
"upload_expires": {
"examples": [
"2026-01-15T10:30:00Z"
],
"title": "upload_expires",
"$ref": "#/components/schemas/google.protobuf.Timestamp",
"$ref-value": {
"type": "string",
"examples": [
"2023-01-15T01:30:15.01Z",
"2024-12-25T12:00:00Z"
],
"format": "date-time",
"description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
}
}
},
"title": "PostUpload",
"additionalProperties": false
}
}