Skip to Content

GetVideo

GET
/media/v1/videos/{video_id}

Path Parameters

video_id*video_id

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/videos.v1.GetVideoResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "video": {
        "title": "video",
        "$ref": "#/components/schemas/videos.v1.Video",
        "$ref-value": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "examples": [
                "FpzVPNx1cG"
              ],
              "title": "id"
            },
            "duration": {
              "title": "duration",
              "$ref": "#/components/schemas/google.protobuf.Duration",
              "$ref-value": {
                "type": "string",
                "pattern": "^-?[0-9]+(\\.[0-9]{1,9})?s$",
                "description": "A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`)."
              }
            },
            "width": {
              "type": "integer",
              "examples": [
                "1280"
              ],
              "title": "width",
              "format": "int32"
            },
            "height": {
              "type": "integer",
              "examples": [
                "720"
              ],
              "title": "height",
              "format": "int32"
            },
            "codec": {
              "type": "string",
              "examples": [
                "h264"
              ],
              "title": "codec"
            },
            "bitrate": {
              "type": "integer",
              "examples": [
                "4500000"
              ],
              "title": "bitrate",
              "format": "int32"
            },
            "framerate": {
              "type": "string",
              "examples": [
                "30"
              ],
              "title": "framerate"
            },
            "hdr": {
              "type": "boolean",
              "examples": [
                "true"
              ],
              "title": "hdr"
            },
            "visibility": {
              "examples": [
                "VISIBILITY_PUBLIC"
              ],
              "title": "visibility",
              "$ref": "#/components/schemas/common.v1.Visibility",
              "$ref-value": {
                "type": "string",
                "title": "Visibility",
                "enum": [
                  "VISIBILITY_UNSPECIFIED",
                  "VISIBILITY_PUBLIC",
                  "VISIBILITY_UNLISTED",
                  "VISIBILITY_PRIVATE"
                ]
              }
            },
            "file": {
              "title": "file",
              "$ref": "#/components/schemas/common.v1.File",
              "$ref-value": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "FpvLwyDMqu"
                    ],
                    "title": "id"
                  },
                  "project_id": {
                    "type": "string",
                    "examples": [
                      "Bq4y3QB38S"
                    ],
                    "title": "project_id"
                  },
                  "format": {
                    "type": "string",
                    "examples": [
                      "avif"
                    ],
                    "title": "format",
                    "description": "format describes the artifact currently served at url, not the uploaded source,\n and is only meaningful once status is FILE_STATUS_READY. Video flips from \"mp4\"\n to \"hls\" when packaging completes; that is the only signal for choosing a\n progressive player over an HLS one. Known values: jpg, png, webp, avif, gif,\n mp4, hls, srt, vtt."
                  },
                  "url": {
                    "type": "string",
                    "examples": [
                      "https://images.rixl.com/Bq4y3QB38S/FpvLwyDMqu"
                    ],
                    "title": "url"
                  },
                  "name": {
                    "type": "string",
                    "examples": [
                      "original.jpeg"
                    ],
                    "title": "name",
                    "maxLength": 64
                  },
                  "size": {
                    "type": "string",
                    "examples": [
                      "1048576"
                    ],
                    "title": "size",
                    "format": "int64",
                    "description": "size is the uploaded source's byte size for usage accounting; it is not updated\n when packaging replaces the artifact, so it does not describe the object at url."
                  },
                  "status": {
                    "examples": [
                      "FILE_STATUS_READY"
                    ],
                    "title": "status",
                    "$ref": "#/components/schemas/common.v1.FileStatus",
                    "$ref-value": {
                      "type": "string",
                      "title": "FileStatus",
                      "enum": [
                        "FILE_STATUS_UNSPECIFIED",
                        "FILE_STATUS_UPLOADING",
                        "FILE_STATUS_UPLOADED",
                        "FILE_STATUS_PROCESSING",
                        "FILE_STATUS_PREPARING",
                        "FILE_STATUS_READY",
                        "FILE_STATUS_ERROR"
                      ]
                    }
                  },
                  "created_at": {
                    "examples": [
                      "2026-01-15T10:30:00Z"
                    ],
                    "title": "created_at",
                    "$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."
                    }
                  },
                  "updated_at": {
                    "examples": [
                      "2026-01-15T10:30:00Z"
                    ],
                    "title": "updated_at",
                    "$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": "File",
                "additionalProperties": false
              }
            },
            "poster": {
              "title": "poster",
              "$ref": "#/components/schemas/images.v1.Image",
              "$ref-value": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "LmNoPqR678"
                    ],
                    "title": "id"
                  },
                  "width": {
                    "type": "integer",
                    "examples": [
                      "1080"
                    ],
                    "title": "width",
                    "format": "int32"
                  },
                  "height": {
                    "type": "integer",
                    "examples": [
                      "1080"
                    ],
                    "title": "height",
                    "format": "int32"
                  },
                  "thumbhash": {
                    "type": "string",
                    "examples": [
                      "1QcSHQRnh493V4dIh4eXh1h4kJUI"
                    ],
                    "title": "thumbhash"
                  },
                  "attached_to_video": {
                    "type": "boolean",
                    "examples": [
                      "true"
                    ],
                    "title": "attached_to_video"
                  },
                  "file": {
                    "title": "file",
                    "$ref": "#/components/schemas/common.v1.File",
                    "$ref-value": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "examples": [
                            "FpvLwyDMqu"
                          ],
                          "title": "id"
                        },
                        "project_id": {
                          "type": "string",
                          "examples": [
                            "Bq4y3QB38S"
                          ],
                          "title": "project_id"
                        },
                        "format": {
                          "type": "string",
                          "examples": [
                            "avif"
                          ],
                          "title": "format",
                          "description": "format describes the artifact currently served at url, not the uploaded source,\n and is only meaningful once status is FILE_STATUS_READY. Video flips from \"mp4\"\n to \"hls\" when packaging completes; that is the only signal for choosing a\n progressive player over an HLS one. Known values: jpg, png, webp, avif, gif,\n mp4, hls, srt, vtt."
                        },
                        "url": {
                          "type": "string",
                          "examples": [
                            "https://images.rixl.com/Bq4y3QB38S/FpvLwyDMqu"
                          ],
                          "title": "url"
                        },
                        "name": {
                          "type": "string",
                          "examples": [
                            "original.jpeg"
                          ],
                          "title": "name",
                          "maxLength": 64
                        },
                        "size": {
                          "type": "string",
                          "examples": [
                            "1048576"
                          ],
                          "title": "size",
                          "format": "int64",
                          "description": "size is the uploaded source's byte size for usage accounting; it is not updated\n when packaging replaces the artifact, so it does not describe the object at url."
                        },
                        "status": {
                          "examples": [
                            "FILE_STATUS_READY"
                          ],
                          "title": "status",
                          "$ref": "#/components/schemas/common.v1.FileStatus",
                          "$ref-value": {
                            "type": "string",
                            "title": "FileStatus",
                            "enum": [
                              "FILE_STATUS_UNSPECIFIED",
                              "FILE_STATUS_UPLOADING",
                              "FILE_STATUS_UPLOADED",
                              "FILE_STATUS_PROCESSING",
                              "FILE_STATUS_PREPARING",
                              "FILE_STATUS_READY",
                              "FILE_STATUS_ERROR"
                            ]
                          }
                        },
                        "created_at": {
                          "examples": [
                            "2026-01-15T10:30:00Z"
                          ],
                          "title": "created_at",
                          "$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."
                          }
                        },
                        "updated_at": {
                          "examples": [
                            "2026-01-15T10:30:00Z"
                          ],
                          "title": "updated_at",
                          "$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": "File",
                      "additionalProperties": false
                    }
                  },
                  "visibility": {
                    "examples": [
                      "VISIBILITY_PUBLIC"
                    ],
                    "title": "visibility",
                    "$ref": "#/components/schemas/common.v1.Visibility",
                    "$ref-value": {
                      "type": "string",
                      "title": "Visibility",
                      "enum": [
                        "VISIBILITY_UNSPECIFIED",
                        "VISIBILITY_PUBLIC",
                        "VISIBILITY_UNLISTED",
                        "VISIBILITY_PRIVATE"
                      ]
                    }
                  }
                },
                "title": "Image",
                "additionalProperties": false
              }
            }
          },
          "title": "Video",
          "additionalProperties": false
        }
      }
    },
    "title": "GetVideoResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/media/v1/videos/FpzVPNx1cG'

Success

application/json

{
  "$ref": "#/components/schemas/videos.v1.GetVideoResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "video": {
        "title": "video",
        "$ref": "#/components/schemas/videos.v1.Video",
        "$ref-value": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "examples": [
                "FpzVPNx1cG"
              ],
              "title": "id"
            },
            "duration": {
              "title": "duration",
              "$ref": "#/components/schemas/google.protobuf.Duration",
              "$ref-value": {
                "type": "string",
                "pattern": "^-?[0-9]+(\\.[0-9]{1,9})?s$",
                "description": "A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`)."
              }
            },
            "width": {
              "type": "integer",
              "examples": [
                "1280"
              ],
              "title": "width",
              "format": "int32"
            },
            "height": {
              "type": "integer",
              "examples": [
                "720"
              ],
              "title": "height",
              "format": "int32"
            },
            "codec": {
              "type": "string",
              "examples": [
                "h264"
              ],
              "title": "codec"
            },
            "bitrate": {
              "type": "integer",
              "examples": [
                "4500000"
              ],
              "title": "bitrate",
              "format": "int32"
            },
            "framerate": {
              "type": "string",
              "examples": [
                "30"
              ],
              "title": "framerate"
            },
            "hdr": {
              "type": "boolean",
              "examples": [
                "true"
              ],
              "title": "hdr"
            },
            "visibility": {
              "examples": [
                "VISIBILITY_PUBLIC"
              ],
              "title": "visibility",
              "$ref": "#/components/schemas/common.v1.Visibility",
              "$ref-value": {
                "type": "string",
                "title": "Visibility",
                "enum": [
                  "VISIBILITY_UNSPECIFIED",
                  "VISIBILITY_PUBLIC",
                  "VISIBILITY_UNLISTED",
                  "VISIBILITY_PRIVATE"
                ]
              }
            },
            "file": {
              "title": "file",
              "$ref": "#/components/schemas/common.v1.File",
              "$ref-value": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "FpvLwyDMqu"
                    ],
                    "title": "id"
                  },
                  "project_id": {
                    "type": "string",
                    "examples": [
                      "Bq4y3QB38S"
                    ],
                    "title": "project_id"
                  },
                  "format": {
                    "type": "string",
                    "examples": [
                      "avif"
                    ],
                    "title": "format",
                    "description": "format describes the artifact currently served at url, not the uploaded source,\n and is only meaningful once status is FILE_STATUS_READY. Video flips from \"mp4\"\n to \"hls\" when packaging completes; that is the only signal for choosing a\n progressive player over an HLS one. Known values: jpg, png, webp, avif, gif,\n mp4, hls, srt, vtt."
                  },
                  "url": {
                    "type": "string",
                    "examples": [
                      "https://images.rixl.com/Bq4y3QB38S/FpvLwyDMqu"
                    ],
                    "title": "url"
                  },
                  "name": {
                    "type": "string",
                    "examples": [
                      "original.jpeg"
                    ],
                    "title": "name",
                    "maxLength": 64
                  },
                  "size": {
                    "type": "string",
                    "examples": [
                      "1048576"
                    ],
                    "title": "size",
                    "format": "int64",
                    "description": "size is the uploaded source's byte size for usage accounting; it is not updated\n when packaging replaces the artifact, so it does not describe the object at url."
                  },
                  "status": {
                    "examples": [
                      "FILE_STATUS_READY"
                    ],
                    "title": "status",
                    "$ref": "#/components/schemas/common.v1.FileStatus",
                    "$ref-value": {
                      "type": "string",
                      "title": "FileStatus",
                      "enum": [
                        "FILE_STATUS_UNSPECIFIED",
                        "FILE_STATUS_UPLOADING",
                        "FILE_STATUS_UPLOADED",
                        "FILE_STATUS_PROCESSING",
                        "FILE_STATUS_PREPARING",
                        "FILE_STATUS_READY",
                        "FILE_STATUS_ERROR"
                      ]
                    }
                  },
                  "created_at": {
                    "examples": [
                      "2026-01-15T10:30:00Z"
                    ],
                    "title": "created_at",
                    "$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."
                    }
                  },
                  "updated_at": {
                    "examples": [
                      "2026-01-15T10:30:00Z"
                    ],
                    "title": "updated_at",
                    "$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": "File",
                "additionalProperties": false
              }
            },
            "poster": {
              "title": "poster",
              "$ref": "#/components/schemas/images.v1.Image",
              "$ref-value": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "examples": [
                      "LmNoPqR678"
                    ],
                    "title": "id"
                  },
                  "width": {
                    "type": "integer",
                    "examples": [
                      "1080"
                    ],
                    "title": "width",
                    "format": "int32"
                  },
                  "height": {
                    "type": "integer",
                    "examples": [
                      "1080"
                    ],
                    "title": "height",
                    "format": "int32"
                  },
                  "thumbhash": {
                    "type": "string",
                    "examples": [
                      "1QcSHQRnh493V4dIh4eXh1h4kJUI"
                    ],
                    "title": "thumbhash"
                  },
                  "attached_to_video": {
                    "type": "boolean",
                    "examples": [
                      "true"
                    ],
                    "title": "attached_to_video"
                  },
                  "file": {
                    "title": "file",
                    "$ref": "#/components/schemas/common.v1.File",
                    "$ref-value": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "examples": [
                            "FpvLwyDMqu"
                          ],
                          "title": "id"
                        },
                        "project_id": {
                          "type": "string",
                          "examples": [
                            "Bq4y3QB38S"
                          ],
                          "title": "project_id"
                        },
                        "format": {
                          "type": "string",
                          "examples": [
                            "avif"
                          ],
                          "title": "format",
                          "description": "format describes the artifact currently served at url, not the uploaded source,\n and is only meaningful once status is FILE_STATUS_READY. Video flips from \"mp4\"\n to \"hls\" when packaging completes; that is the only signal for choosing a\n progressive player over an HLS one. Known values: jpg, png, webp, avif, gif,\n mp4, hls, srt, vtt."
                        },
                        "url": {
                          "type": "string",
                          "examples": [
                            "https://images.rixl.com/Bq4y3QB38S/FpvLwyDMqu"
                          ],
                          "title": "url"
                        },
                        "name": {
                          "type": "string",
                          "examples": [
                            "original.jpeg"
                          ],
                          "title": "name",
                          "maxLength": 64
                        },
                        "size": {
                          "type": "string",
                          "examples": [
                            "1048576"
                          ],
                          "title": "size",
                          "format": "int64",
                          "description": "size is the uploaded source's byte size for usage accounting; it is not updated\n when packaging replaces the artifact, so it does not describe the object at url."
                        },
                        "status": {
                          "examples": [
                            "FILE_STATUS_READY"
                          ],
                          "title": "status",
                          "$ref": "#/components/schemas/common.v1.FileStatus",
                          "$ref-value": {
                            "type": "string",
                            "title": "FileStatus",
                            "enum": [
                              "FILE_STATUS_UNSPECIFIED",
                              "FILE_STATUS_UPLOADING",
                              "FILE_STATUS_UPLOADED",
                              "FILE_STATUS_PROCESSING",
                              "FILE_STATUS_PREPARING",
                              "FILE_STATUS_READY",
                              "FILE_STATUS_ERROR"
                            ]
                          }
                        },
                        "created_at": {
                          "examples": [
                            "2026-01-15T10:30:00Z"
                          ],
                          "title": "created_at",
                          "$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."
                          }
                        },
                        "updated_at": {
                          "examples": [
                            "2026-01-15T10:30:00Z"
                          ],
                          "title": "updated_at",
                          "$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": "File",
                      "additionalProperties": false
                    }
                  },
                  "visibility": {
                    "examples": [
                      "VISIBILITY_PUBLIC"
                    ],
                    "title": "visibility",
                    "$ref": "#/components/schemas/common.v1.Visibility",
                    "$ref-value": {
                      "type": "string",
                      "title": "Visibility",
                      "enum": [
                        "VISIBILITY_UNSPECIFIED",
                        "VISIBILITY_PUBLIC",
                        "VISIBILITY_UNLISTED",
                        "VISIBILITY_PRIVATE"
                      ]
                    }
                  }
                },
                "title": "Image",
                "additionalProperties": false
              }
            }
          },
          "title": "Video",
          "additionalProperties": false
        }
      }
    },
    "title": "GetVideoResponse",
    "additionalProperties": false
  }
}