CreatePost

POST/posts/v1/projects/{project_id}/feeds/{feed_id}/posts

Path Parameters

project_id*project_id

The project_id path parameter.

feed_id*feed_id

The feed_id path parameter.

Request Body

required
application/json
{
  "org_id": "OR98234j23",
  "creator_id": "Tg6Rf4e2W1",
  "type": "MEDIA_TYPE_VIDEO",
  "description": "A short description.",
  "image_id": "LmNoPqR678"
}
org_id?string
creator_id?string
type?object
description?string

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/posts.v1.CreatePostResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "post": {
        "allOf": [
          {
            "$ref": "#/components/schemas/posts.v1.Post",
            "$ref-value": {
              "type": "object",
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "image": {
                      "allOf": [
                        {
                          "$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": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "FILE_STATUS_READY"
                                          ],
                                          "title": "status"
                                        },
                                        "created_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "created_at"
                                        },
                                        "updated_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "updated_at"
                                        }
                                      },
                                      "title": "File",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "file"
                              },
                              "visibility": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/common.v1.Visibility",
                                    "$ref-value": {
                                      "type": "string",
                                      "title": "Visibility",
                                      "enum": [
                                        "VISIBILITY_UNSPECIFIED",
                                        "VISIBILITY_PUBLIC",
                                        "VISIBILITY_UNLISTED",
                                        "VISIBILITY_PRIVATE"
                                      ]
                                    }
                                  }
                                ],
                                "examples": [
                                  "VISIBILITY_PUBLIC"
                                ],
                                "title": "visibility"
                              }
                            },
                            "title": "Image",
                            "additionalProperties": false
                          }
                        }
                      ],
                      "title": "image"
                    }
                  },
                  "title": "image"
                },
                {
                  "type": "object",
                  "properties": {
                    "video": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/videos.v1.Video",
                          "$ref-value": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "examples": [
                                  "FpzVPNx1cG"
                                ],
                                "title": "id"
                              },
                              "duration": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/google.protobuf.Duration",
                                    "$ref-value": {
                                      "type": "string",
                                      "format": "duration",
                                      "description": "A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`)."
                                    }
                                  }
                                ],
                                "title": "duration"
                              },
                              "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": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/common.v1.Visibility",
                                    "$ref-value": {
                                      "type": "string",
                                      "title": "Visibility",
                                      "enum": [
                                        "VISIBILITY_UNSPECIFIED",
                                        "VISIBILITY_PUBLIC",
                                        "VISIBILITY_UNLISTED",
                                        "VISIBILITY_PRIVATE"
                                      ]
                                    }
                                  }
                                ],
                                "examples": [
                                  "VISIBILITY_PUBLIC"
                                ],
                                "title": "visibility"
                              },
                              "file": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "FILE_STATUS_READY"
                                          ],
                                          "title": "status"
                                        },
                                        "created_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "created_at"
                                        },
                                        "updated_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "updated_at"
                                        }
                                      },
                                      "title": "File",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "file"
                              },
                              "poster": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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": {
                                                    "allOf": [
                                                      {
                                                        "$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"
                                                          ]
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "FILE_STATUS_READY"
                                                    ],
                                                    "title": "status"
                                                  },
                                                  "created_at": {
                                                    "allOf": [
                                                      {
                                                        "$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."
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "2026-01-15T10:30:00Z"
                                                    ],
                                                    "title": "created_at"
                                                  },
                                                  "updated_at": {
                                                    "allOf": [
                                                      {
                                                        "$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."
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "2026-01-15T10:30:00Z"
                                                    ],
                                                    "title": "updated_at"
                                                  }
                                                },
                                                "title": "File",
                                                "additionalProperties": false
                                              }
                                            }
                                          ],
                                          "title": "file"
                                        },
                                        "visibility": {
                                          "allOf": [
                                            {
                                              "$ref": "#/components/schemas/common.v1.Visibility",
                                              "$ref-value": {
                                                "type": "string",
                                                "title": "Visibility",
                                                "enum": [
                                                  "VISIBILITY_UNSPECIFIED",
                                                  "VISIBILITY_PUBLIC",
                                                  "VISIBILITY_UNLISTED",
                                                  "VISIBILITY_PRIVATE"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "VISIBILITY_PUBLIC"
                                          ],
                                          "title": "visibility"
                                        }
                                      },
                                      "title": "Image",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "poster"
                              }
                            },
                            "title": "Video",
                            "additionalProperties": false
                          }
                        }
                      ],
                      "title": "video"
                    }
                  },
                  "title": "video"
                }
              ],
              "unevaluatedProperties": false,
              "not": {
                "allOf": [
                  {
                    "anyOf": [
                      {
                        "required": [
                          "image"
                        ]
                      },
                      {
                        "required": [
                          "video"
                        ]
                      }
                    ]
                  },
                  {
                    "not": {
                      "oneOf": [
                        {
                          "required": [
                            "image"
                          ]
                        },
                        {
                          "required": [
                            "video"
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "properties": {
                "id": {
                  "type": "string",
                  "examples": [
                    "Mn0bVc9xZ8"
                  ],
                  "title": "id"
                },
                "feed_id": {
                  "type": "string",
                  "examples": [
                    "F4edRI23XL"
                  ],
                  "title": "feed_id"
                },
                "creator_id": {
                  "type": "string",
                  "examples": [
                    "Tg6Rf4e2W1"
                  ],
                  "title": "creator_id"
                },
                "type": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/common.v1.MediaType",
                      "$ref-value": {
                        "type": "string",
                        "title": "MediaType",
                        "enum": [
                          "MEDIA_TYPE_UNSPECIFIED",
                          "MEDIA_TYPE_IMAGE",
                          "MEDIA_TYPE_VIDEO"
                        ]
                      }
                    }
                  ],
                  "examples": [
                    "MEDIA_TYPE_VIDEO"
                  ],
                  "title": "type"
                },
                "description": {
                  "type": "string",
                  "examples": [
                    "A short description."
                  ],
                  "title": "description",
                  "maxLength": 280
                },
                "created_at": {
                  "allOf": [
                    {
                      "$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."
                      }
                    }
                  ],
                  "examples": [
                    "2026-01-15T10:30:00Z"
                  ],
                  "title": "created_at"
                }
              },
              "title": "Post"
            }
          }
        ],
        "title": "post"
      }
    },
    "title": "CreatePostResponse",
    "additionalProperties": false
  }
}
curl -X POST "https://api.rixl.com/posts/v1/projects/Bq4y3QB38S/feeds/F4edRI23XL/posts" \
  -H "Content-Type: application/json" \
  -d '{}'

Success

application/json

{
  "$ref": "#/components/schemas/posts.v1.CreatePostResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "post": {
        "allOf": [
          {
            "$ref": "#/components/schemas/posts.v1.Post",
            "$ref-value": {
              "type": "object",
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "image": {
                      "allOf": [
                        {
                          "$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": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "FILE_STATUS_READY"
                                          ],
                                          "title": "status"
                                        },
                                        "created_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "created_at"
                                        },
                                        "updated_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "updated_at"
                                        }
                                      },
                                      "title": "File",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "file"
                              },
                              "visibility": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/common.v1.Visibility",
                                    "$ref-value": {
                                      "type": "string",
                                      "title": "Visibility",
                                      "enum": [
                                        "VISIBILITY_UNSPECIFIED",
                                        "VISIBILITY_PUBLIC",
                                        "VISIBILITY_UNLISTED",
                                        "VISIBILITY_PRIVATE"
                                      ]
                                    }
                                  }
                                ],
                                "examples": [
                                  "VISIBILITY_PUBLIC"
                                ],
                                "title": "visibility"
                              }
                            },
                            "title": "Image",
                            "additionalProperties": false
                          }
                        }
                      ],
                      "title": "image"
                    }
                  },
                  "title": "image"
                },
                {
                  "type": "object",
                  "properties": {
                    "video": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/videos.v1.Video",
                          "$ref-value": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "examples": [
                                  "FpzVPNx1cG"
                                ],
                                "title": "id"
                              },
                              "duration": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/google.protobuf.Duration",
                                    "$ref-value": {
                                      "type": "string",
                                      "format": "duration",
                                      "description": "A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`)."
                                    }
                                  }
                                ],
                                "title": "duration"
                              },
                              "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": {
                                "allOf": [
                                  {
                                    "$ref": "#/components/schemas/common.v1.Visibility",
                                    "$ref-value": {
                                      "type": "string",
                                      "title": "Visibility",
                                      "enum": [
                                        "VISIBILITY_UNSPECIFIED",
                                        "VISIBILITY_PUBLIC",
                                        "VISIBILITY_UNLISTED",
                                        "VISIBILITY_PRIVATE"
                                      ]
                                    }
                                  }
                                ],
                                "examples": [
                                  "VISIBILITY_PUBLIC"
                                ],
                                "title": "visibility"
                              },
                              "file": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "FILE_STATUS_READY"
                                          ],
                                          "title": "status"
                                        },
                                        "created_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "created_at"
                                        },
                                        "updated_at": {
                                          "allOf": [
                                            {
                                              "$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."
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "2026-01-15T10:30:00Z"
                                          ],
                                          "title": "updated_at"
                                        }
                                      },
                                      "title": "File",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "file"
                              },
                              "poster": {
                                "allOf": [
                                  {
                                    "$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": {
                                          "allOf": [
                                            {
                                              "$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": {
                                                    "allOf": [
                                                      {
                                                        "$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"
                                                          ]
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "FILE_STATUS_READY"
                                                    ],
                                                    "title": "status"
                                                  },
                                                  "created_at": {
                                                    "allOf": [
                                                      {
                                                        "$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."
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "2026-01-15T10:30:00Z"
                                                    ],
                                                    "title": "created_at"
                                                  },
                                                  "updated_at": {
                                                    "allOf": [
                                                      {
                                                        "$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."
                                                        }
                                                      }
                                                    ],
                                                    "examples": [
                                                      "2026-01-15T10:30:00Z"
                                                    ],
                                                    "title": "updated_at"
                                                  }
                                                },
                                                "title": "File",
                                                "additionalProperties": false
                                              }
                                            }
                                          ],
                                          "title": "file"
                                        },
                                        "visibility": {
                                          "allOf": [
                                            {
                                              "$ref": "#/components/schemas/common.v1.Visibility",
                                              "$ref-value": {
                                                "type": "string",
                                                "title": "Visibility",
                                                "enum": [
                                                  "VISIBILITY_UNSPECIFIED",
                                                  "VISIBILITY_PUBLIC",
                                                  "VISIBILITY_UNLISTED",
                                                  "VISIBILITY_PRIVATE"
                                                ]
                                              }
                                            }
                                          ],
                                          "examples": [
                                            "VISIBILITY_PUBLIC"
                                          ],
                                          "title": "visibility"
                                        }
                                      },
                                      "title": "Image",
                                      "additionalProperties": false
                                    }
                                  }
                                ],
                                "title": "poster"
                              }
                            },
                            "title": "Video",
                            "additionalProperties": false
                          }
                        }
                      ],
                      "title": "video"
                    }
                  },
                  "title": "video"
                }
              ],
              "unevaluatedProperties": false,
              "not": {
                "allOf": [
                  {
                    "anyOf": [
                      {
                        "required": [
                          "image"
                        ]
                      },
                      {
                        "required": [
                          "video"
                        ]
                      }
                    ]
                  },
                  {
                    "not": {
                      "oneOf": [
                        {
                          "required": [
                            "image"
                          ]
                        },
                        {
                          "required": [
                            "video"
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "properties": {
                "id": {
                  "type": "string",
                  "examples": [
                    "Mn0bVc9xZ8"
                  ],
                  "title": "id"
                },
                "feed_id": {
                  "type": "string",
                  "examples": [
                    "F4edRI23XL"
                  ],
                  "title": "feed_id"
                },
                "creator_id": {
                  "type": "string",
                  "examples": [
                    "Tg6Rf4e2W1"
                  ],
                  "title": "creator_id"
                },
                "type": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/common.v1.MediaType",
                      "$ref-value": {
                        "type": "string",
                        "title": "MediaType",
                        "enum": [
                          "MEDIA_TYPE_UNSPECIFIED",
                          "MEDIA_TYPE_IMAGE",
                          "MEDIA_TYPE_VIDEO"
                        ]
                      }
                    }
                  ],
                  "examples": [
                    "MEDIA_TYPE_VIDEO"
                  ],
                  "title": "type"
                },
                "description": {
                  "type": "string",
                  "examples": [
                    "A short description."
                  ],
                  "title": "description",
                  "maxLength": 280
                },
                "created_at": {
                  "allOf": [
                    {
                      "$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."
                      }
                    }
                  ],
                  "examples": [
                    "2026-01-15T10:30:00Z"
                  ],
                  "title": "created_at"
                }
              },
              "title": "Post"
            }
          }
        ],
        "title": "post"
      }
    },
    "title": "CreatePostResponse",
    "additionalProperties": false
  }
}