API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

PATCH /v1/projects/{projectId}/acceptance-protocols/{protocolId}

PATCH/v1/projects/{projectId}/acceptance-protocols/{protocolId}

Edit a DRAFT acceptance protocol. (ADR 0224)

Modèle de données

Cette opération porte sur l'entité Project (project). Les 50 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

Corps de la requête

NomTypeDescription
titlestring
introTextstring
scopeItemsobject[]
signerNamestring
signerEmailstring
signerPartyIdstring
coSignerUserIdstring

Paramètres de chemin

NomTypeDescription
projectIdobligatoirestring
protocolIdobligatoirestring

Exemple

curl -X PATCH https://api.codemeta-os.de/v1/projects/{projectId}/acceptance-protocols/{protocolId} \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "title": "string",
  "introText": "string",
  "scopeItems": [],
  "signerName": "string",
  "signerEmail": "string",
  "signerPartyId": "string",
  "coSignerUserId": "string"
}'
const result = await cm.projects.patch({
  "title": "string",
  "introText": "string",
  "scopeItems": [],
  "signerName": "string",
  "signerEmail": "string",
  "signerPartyId": "string",
  "coSignerUserId": "string"
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche