Skip to content

Commit

Permalink
Added collections
Browse files Browse the repository at this point in the history
  • Loading branch information
rognlien committed Dec 20, 2023
1 parent a522bda commit 1f878cf
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions bblrm-specification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ paths:
value: bb:work:62E1FNKMKX7CF8W5WKHD19QAD8
agent:
value: bb:agent:02Q94MAYSX53N7PJ1HC8EEW5WW
collection:
value: bb:collection:E7QPNR9CWS1JZ9028Q1A2S6D7R
responses:
'303':
description: See Other
Expand Down Expand Up @@ -98,6 +100,25 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Agent'

/lrm/collection/{id}:
get:
description: Get Collection by id
operationId: getCollection
parameters:
- in: path
name: id
schema:
type: string
required: true
example: "E7QPNR9CWS1JZ9028Q1A2S6D7R"
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
components:
schemas:

Expand Down Expand Up @@ -210,3 +231,11 @@ components:
type: string
number:
type: string

Collection:
type: object
properties:
id:
type: string
name:
type: string

0 comments on commit 1f878cf

Please sign in to comment.