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

# Photo Galleries Index

Allows the user to retrieve the list of galleries for the page specified.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.sportngin.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/photo_galleries/:id": {
      "get": {
        "summary": "Photo Galleries Index",
        "description": "Allows the user to retrieve the list of galleries for the page specified.",
        "operationId": "photo-galleries-index",
        "parameters": [
          {
            "name": "object_type",
            "in": "query",
            "description": "The type of ID to be expected in the object_id parameter",
            "required": true,
            "schema": {
              "type": "string",
              "default": "page"
            }
          },
          {
            "name": "object_id",
            "in": "query",
            "description": "The unique ID of the entity specified in the object_type parameter",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "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\" \"https://api.sportngin.com/photo_galleries?object_type=game&object_id=2072139\"",
              "name": "Show all photo galleries on a game(curently on a game there can be only one photo gallery)"
            },
            {
              "language": "curl",
              "code": "curl --user USERNAME:PASSWORD -H \"NGIN-API-TOKEN: YOUR_TOKEN\" -H \"NGIN-API-VERSION: 0.1\" \"https://api.sportngin.com/photo_galleries?object_type=team_instance&object_id=86231\"",
              "name": "Show all photo galleries on a team instance"
            },
            {
              "language": "curl",
              "code": "curl --user USERNAME:PASSWORD -H \"NGIN-API-TOKEN: YOUR_TOKEN\" -H \"NGIN-API-VERSION: 0.1\" \"https://api.sportngin.com/photo_galleries/50248\"",
              "name": "Show all gallery photos in photo gallery id 50248"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```