---
updatedAt: 2025-06-05T22:00:26.000Z
agentTools:
  projectIndex: https://sportnginsite.readme.io/llms.txt
---

# Gallery Videos Upload

Allows the user to upload a Video into the gallery on a specific page.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.sportngin.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/uploaded_videos": {
      "post": {
        "summary": "Gallery Videos Upload",
        "description": "Allows the user to upload a Video into the gallery on a specific page.",
        "operationId": "gallery-videos-upload",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "uploaded_video": {
                    "properties": {
                      "object_type": {
                        "type": "string"
                      },
                      "object_id": {
                        "type": "string"
                      },
                      "filedata": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --user USERNAME:PASSWORD -H \"NGIN-API-TOKEN: YOUR_TOKEN\" -H \"NGIN-API-VERSION: 0.1\" --form \"uploaded_video[object_type]=game\" --form \"uploaded_video[object_id]=2072139\" --form \"uploaded_video[filedata]=@/Users/zjia/Desktop/drop.avi\" --form uploaded_video[name]='this_is_a_name' --form uploaded_video[description]='this is description' \"https://api.sportngin.com/uploaded_videos\""
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```