github.com/gfleury/gobbs@v0.0.0-20200831213239-44ca2b94c1a1/repos/mocked_responses/GetRepository.json (about)

     1  {
     2      "slug": "my-repo",
     3      "id": 1,
     4      "name": "My repo",
     5      "description": "My repo description",
     6      "hierarchyId": "e3c939f9ef4a7fae272e",
     7      "scmId": "git",
     8      "state": "AVAILABLE",
     9      "statusMessage": "Available",
    10      "forkable": true,
    11      "project": {
    12          "key": "PRJ",
    13          "id": 1,
    14          "name": "My Cool Project",
    15          "description": "The description for my cool project.",
    16          "public": true,
    17          "type": "NORMAL",
    18          "links": {
    19              "self": [
    20                  {
    21                      "href": "http://link/to/project"
    22                  }
    23              ]
    24          }
    25      },
    26      "public": true,
    27      "links": {
    28          "clone": [
    29              {
    30                  "href": "ssh://git@<baseURL>/PRJ/my-repo.git",
    31                  "name": "ssh"
    32              },
    33              {
    34                  "href": "https://<baseURL>/scm/PRJ/my-repo.git",
    35                  "name": "http"
    36              }
    37          ],
    38          "self": [
    39              {
    40                  "href": "http://link/to/repository"
    41              }
    42          ]
    43      }
    44  }