v3

latestOpenAPI 3.1.02026-07-31102245.5 KB
Private endpoints
Repositories

Specifieke repository updaten

Specifieke repository updaten

put/repositories/{id}

Request body

urlstring uri

URL of the source code repository.

organisationUristring uri

The unique identifier for an organisation

publicCodeUrlstring

URL of publiccode.yml in the repository.

isForkboolean

Fork status supplied by the crawler based on the code hosting provider.

archivedboolean

Archived status supplied by the crawler based on the code hosting provider.

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

Example request

{
  "url": "https://github.com/developer-overheid-nl/don-site",
  "organisationUri": "https://developer.overheid.nl"
}

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"
    }
  }
}