get
default

List releases by repository and name.

Changed on
post/get/releases

Request

Request body

accountinteger required

Account ID.

Example request

{
  "account": 1,
  "releases": [
    {
      "repository": "github.com/athenianco/athenian-api",
      "names": [
        "v0.7.53",
        "v0.6.10"
      ]
    }
  ]
}

Response

List of releases satisfying the specified filters.

Example response

{
  "include": {
    "users": {
      "github.com/gkwillie": {
        "avatar": "https://avatars0.githubusercontent.com/u/60340680?v=4"
      }
    },
    "deployments": {
      "production-2020-03-26-W9J3uzHl": {
        "components": [
          {
            "repository": "github.com/athenianco/athenian-api",
            "reference": "v0.10.34"
          }
        ],
        "environment": "production",
        "date_finished": "2022-01-23T05:01:07.000+00:00",
        "date_started": "2022-01-23T04:56:07.000+00:00",
        "conclusion": "SUCCESS",
        "labels": {
          "helm_chart": "0.0.67"
        }
      }
    }
  },
  "data": [
    {
      "added_lines": 1000,
      "commits": 20,
      "deleted_lines": 200,
      "name": "v0.0.93",
      "sha": "e337123fc32c38cf6a8149b518f2e58ae836c8e6",
      "published": "2020-03-25T10:57:00Z",
      "publisher": "github.com/vmarkovtsev",
      "repository": "github.com/athenianco/athenian-api",
      "url": "https://github.com/athenianco/athenian-api/releases/tag/v0.0.93",
      "age": "1000s",
      "commit_authors": [
        "github.com/vmarkovtsev"
      ],
      "prs": []
    },
    {
      "added_lines": 1000,
      "commits": 20,
      "deleted_lines": 200,
      "name": "v0.0.93",
      "sha": "e337123fc32c38cf6a8149b518f2e58ae836c8e6",
      "published": "2020-03-25T10:57:00Z",
      "publisher": "github.com/vmarkovtsev",
      "repository": "github.com/athenianco/athenian-api",
      "url": "https://github.com/athenianco/athenian-api/releases/tag/v0.0.93",
      "age": "2000s",
      "commit_authors": [
        "github.com/vmarkovtsev"
      ],
      "prs": []
    }
  ]
}

Changes

    • breaking

      the /////// response property's maxLength was unset from 100 for the response status

    • breaking

      the /////// response property's minLength was decreased from 1 to 0 for the response status

    • info

      the /////// response's property pattern ^([^'\s]| ){1,100}$ was added for the status