Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 37 additions & 5 deletions rpcapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ paths:
additionalProperties:
type: string


/person/create_demo_person/:
post:
operationId: create_demo_person
Expand Down Expand Up @@ -163,7 +162,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SubmittedToQueue'

/doc/drafts/{docId}/:
get:
operationId: get_draft_by_id
Expand All @@ -186,6 +185,26 @@ paths:
'404':
description: Not found

/doc/drafts/{docId}/references/:
get:
operationId: get_draft_references
summary: Get normative references to Internet-Drafts
description: Returns the id and name of each normatively referenced Internet-Draft for the given docId
parameters:
- name: docId
in: path
description: ID of draft
required: true
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/References'

/doc/drafts_by_names/:
post:
operationId: get_drafts_by_names
Expand Down Expand Up @@ -306,7 +325,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/OriginalStream'
$ref: '#/components/schemas/OriginalStream'

/subject/{subjectId}/person/:
get:
Expand Down Expand Up @@ -369,13 +388,13 @@ components:
submitted:
type: string
format: date-time

ErrorResponse:
type: object
properties:
error:
type: string

Draft:
type: object
properties:
Expand Down Expand Up @@ -408,6 +427,19 @@ components:
intended_std_level:
type: string

References:
type: object
properties:
references:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string

OriginalStream:
type: object
properties:
Expand Down