Skip to content

Commit

Permalink
Added documentation for ServerWhitelistingItemsByParticipantRoleID (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: dhruvthakker <[email protected]>
  • Loading branch information
DhruvThakker and dhruvthakker authored Apr 13, 2024
1 parent 1a78b5f commit 86aad5f
Showing 1 changed file with 46 additions and 4 deletions.
50 changes: 46 additions & 4 deletions apis/ocen-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,48 @@
}
}
}
},
"/service/participant-roles/server-whitelisting-items/{participantRoleId}": {
"get": {
"tags": [
"OCEN Registry API"
],
"summary": "Server Whitelisting Items by ParticipantRoleIDs",
"description": "Server Whitelisting Items by ParticipantRoleIDs",
"operationId": "GetServerWhitelistingItemsByParticipantRoleID",
"parameters": [
{
"name": "participantRoleId",
"in": "path",
"description": "Participant Role ID",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Found ServerWhitelistingItems for given Participant Role ID",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ServerWhitelistingItem"
}
}
}
}
},
"400": {
"description": "Invalid request"
},
"404": {
"description": "Not found"
}
}
}
}
},
"components": {
Expand Down Expand Up @@ -184,9 +226,8 @@
"REJECTED"
]
},
"participatingOrganization": {
"type": "object",
"ref": null
"publicKey": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -322,7 +363,8 @@
"type": "string"
},
"participantRole": {
"ref": "./ParticipantRole.yaml"
"type": "object",
"$ref": "#/components/schemas/ParticipantRole"
}
}
}
Expand Down

0 comments on commit 86aad5f

Please sign in to comment.