v3

latestOpenAPI 3.1.02026-07-31102245.5 KB
Public endpoints
Repositories

Get repository by id

Returns a single OSS repository by id.

get/repositories/{id}

Response

OK

idstring uuid
urlstring uri

URL of the source code repository.

forkType'TECHNICAL_FORK' | 'VARIANT_FORK' | 'GIT_FORK' | 'URL_MISTAKE'

Derived fork classification based on the git fork flag, publiccode.yml url, and isBasedOn metadata.

publicCodeUrlstring

URL of publiccode.yml in the repository.

shortDescriptionstring

Description of the repository from the git hosting (e.g. the repository description). Used as a fallback when no publiccode.yml is available.

namestring

Name of the repository from the git hosting. Used as a fallback when no publiccode.yml is available.

createdAtstring date-time
lastCrawledAtstring date-time
lastActivityAtstring date-time
archivedboolean

Whether the repository is archived and hidden from default repository listings.

longDescriptionstring

Long description of the repository, typically from publiccode.yml.

Example response

{
  "url": "https://github.com/developer-overheid-nl/don-site",
  "organisation": {
    "uri": "https://developer.overheid.nl",
    "label": "developer.overheid.nl"
  },
  "publicCode": {
    "organisation": {
      "uri": "https://developer.overheid.nl"
    }
  }
}