> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /gitlab/projects/releases

> List releases of a GitLab project by numeric id, 'namespace/project' path, or project URL

**Price:** 1 credit per 100 results

**⚠️ Common errors:** 412: Project not found or releases unavailable



## OpenAPI

````yaml /openapi/developer-data.json post /api/gitlab/projects/releases
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/gitlab/projects/releases:
    post:
      tags:
        - /gitlab
      summary: /gitlab/projects/releases
      description: >-
        List releases of a GitLab project by numeric id, 'namespace/project'
        path, or project URL


        **Price:** 1 credit per 100 results


        **⚠️ Common errors:** 412: Project not found or releases unavailable
      operationId: __api_gitlab_projects_releases_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GitlabProjectReleasesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GitlabRelease'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GitlabProjectReleasesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        project:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - project
        - count
    GitlabRelease:
      properties:
        '@type':
          type: string
          default: GitlabRelease
        tag:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          type: string
          default: ''
        released_at:
          type: string
          default: ''
        upcoming_release:
          type: boolean
          default: false
        author:
          anyOf:
            - $ref: '#/components/schemas/GitlabReleaseAuthor'
            - type: 'null'
        commit:
          anyOf:
            - $ref: '#/components/schemas/GitlabReleaseCommit'
            - type: 'null'
        assets:
          anyOf:
            - $ref: '#/components/schemas/GitlabReleaseAssets'
            - type: 'null'
      type: object
      required:
        - tag
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    GitlabReleaseAuthor:
      properties:
        '@type':
          type: string
          default: GitlabReleaseAuthor
        id:
          type: integer
        username:
          type: string
          default: ''
        name:
          type: string
          default: ''
        state:
          type: string
          default: ''
        image:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          type: string
          default: ''
      type: object
      required:
        - id
    GitlabReleaseCommit:
      properties:
        '@type':
          type: string
          default: GitlabReleaseCommit
        id:
          type: string
          default: ''
        short_id:
          type: string
          default: ''
      type: object
    GitlabReleaseAssets:
      properties:
        '@type':
          type: string
          default: GitlabReleaseAssets
        count:
          type: integer
          default: 0
        sources:
          items:
            $ref: '#/components/schemas/GitlabReleaseAssetSource'
          type: array
          default: []
        links:
          items:
            $ref: '#/components/schemas/GitlabReleaseAssetLink'
          type: array
          default: []
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    GitlabReleaseAssetSource:
      properties:
        '@type':
          type: string
          default: GitlabReleaseAssetSource
        format:
          type: string
          default: ''
        url:
          type: string
          default: ''
      type: object
    GitlabReleaseAssetLink:
      properties:
        '@type':
          type: string
          default: GitlabReleaseAssetLink
        id:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          type: string
          default: ''
        url:
          type: string
          default: ''
        direct_asset_url:
          anyOf:
            - type: string
            - type: 'null'
        link_type:
          type: string
          default: ''
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````