filter
default

Find releases between the two given ones per repository.

post/diff/releases

Request

Request body

accountinteger required
bordersobject required

Mapping from repository names to analyzed release pairs.

Example request

{
  "account": 1,
  "borders": {
    "github.com/athenianco/athenian-api": [
      {
        "old": "v0.7.50",
        "new": "v0.7.59"
      }
    ]
  }
}

Response

Releases between the two specified borders, excluding the first one and including the second one. Triaged by repository.

dataobject required

Mapping from repository names to diff results.

Example response

{
  "include": {
    "users": {
      "github.com/gkwillie": {
        "avatar": "https://avatars0.githubusercontent.com/u/60340680?v=4"
      }
    },
    "jira": {
      "DEV-999": {
        "id": "DEV-999",
        "title": "Ticket DEV-999",
        "type": "task"
      }
    }
  },
  "data": {
    "github.com/athenianco/athenian-api": [
      {
        "old": "v0.0.92",
        "new": "v0.0.93",
        "releases": [
          {
            "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": [
              {
                "additions": 34,
                "author": "github.com/se7entyse7en",
                "created": "2020-05-21T18:29:00Z",
                "deletions": 3,
                "number": 176,
                "title": "Fix first account creation"
              }
            ]
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 90 revisions of this API.