---
title: "Specifieke repository updaten"
method: PUT
path: "/repositories/{id}"
tags: ["Private endpoints", "Repositories"]
---

# Specifieke repository updaten

`PUT /repositories/{id}`

Specifieke repository updaten

## Request body

- RepositoryInput — A repository input for creating or updating a repository in the catalog
  - `url` string, uri — URL of the source code repository.
  - `organisationUri` string, uri — The unique identifier for an organisation
  - `publicCodeUrl` string — URL of publiccode.yml in the repository.
  - `isFork` boolean — Fork status supplied by the crawler based on the code hosting provider.
  - `archived` boolean — Archived status supplied by the crawler based on the code hosting provider.
  - `shortDescription` string — Description of the repository from the git hosting (e.g. the repository description). Used as a fallback when no publiccode.yml is available.
  - `name` string — Name of the repository from the git hosting. Used as a fallback when no publiccode.yml is available.
  - `createdAt` string, date-time
  - `lastCrawledAt` string, date-time
  - `lastActivityAt` string, date-time

## Response `200`

OK

- RepositoryDetail — An OSS repository from the catalog
  - `id` string, uuid
  - `url` string, 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.
  - `organisation` OrganisationSummary — An organisation from the catalog
    - `uri` string, uri, required — The unique identifier for an organisation
    - `label` string, required — The label of the organisation
  - `publicCodeUrl` string — URL of publiccode.yml in the repository.
  - `shortDescription` string — Description of the repository from the git hosting (e.g. the repository description). Used as a fallback when no publiccode.yml is available.
  - `name` string — Name of the repository from the git hosting. Used as a fallback when no publiccode.yml is available.
  - `createdAt` string, date-time
  - `lastCrawledAt` string, date-time
  - `lastActivityAt` string, date-time
  - `archived` boolean — Whether the repository is archived and hidden from default repository listings.
  - `publicCode` PublicCode — Mandatory and conditionally mandatory fields extracted from publiccode.yml v0.5.0.
    - `publiccodeYmlVersion` '0' | '0.2' | '0.2.0' | '0.2.1' | '0.2.2' | '0.3' | '0.3.0' | '0.4' | '0.4.0' | '0.5' | '0.5.0', required — Version of the publiccode.yml schema.
    - `name` string, required — Software name from publiccode.yml.
    - `url` string, uri, required — Repository or project URL from publiccode.yml.
    - `landingURL` string, uri — Landing page URL from publiccode.yml.
    - `platforms` string[], required — Supported platforms.
    - `developmentStatus` 'concept' | 'development' | 'beta' | 'stable' | 'obsolete', required — Development status from publiccode.yml.
    - `softwareType` 'standalone/mobile' | 'standalone/iot' | 'standalone/desktop' | 'standalone/web' | 'standalone/backend' | 'standalone/other' | 'addon' | 'library' | 'configurationFiles', required — Software type from publiccode.yml.
    - `legal` object, required
      - `license` string, required — SPDX license expression.
    - `description` object, required — Localized description blocks keyed by language tag.
    - `maintenance` object, required — This section provides information on the maintenance status of the software, useful to evaluate whether the software is actively developed or not.
      - `type` 'internal' | 'contract' | 'community' | 'none', required
      - `contacts` object[]
        - `name` string, required
      - `contractors` object[]
        - `name` string, required
        - `until` string, date, required
    - `localisation` object, required
      - `localisationReady` boolean, required
      - `availableLanguages` string[], required
    - `organisation` object
      - `uri` string, uri, required — The unique identifier for an organisation
    - `dependsOn` object
      - `open` object[]
        - `name` string, required
      - `proprietary` object[]
        - `name` string, required
      - `hardware` object[]
        - `name` string, required
    - `fundedBy` object[]
      - `name` string
  - `longDescription` string — Long description of the repository, typically from publiccode.yml.

## Other responses

- `400` — Bad request
- `404` — Resource does not exist

---

[API](https://skmtc.net/digilab/apis/oss-register-api-v1.md) · [All operations](https://skmtc.net/digilab/apis/oss-register-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digilab/oss-register-api-v1/versions/c98155e7c17a/schema)
