Skip to content

Commit

Permalink
add return_url for session negotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
grizz committed Feb 18, 2024
1 parent 71bdacf commit 562e4cc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ paths:
parameters:
- name: asn
in: query
description: List available locations for peering with the given ASN
description: List available locations for peering with the given ASN (XXX is this local or peer ASN?)
required: true
schema:
type: integer
Expand Down Expand Up @@ -86,7 +86,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SessionArray'
$ref: '#/components/schemas/CreateSessionsRequest'
required: true
responses:
'200':
Expand Down Expand Up @@ -368,14 +368,18 @@ components:
- name
- errors

requests:
CreateSessionsRequest:
title: CreateSessionsRequest
description: Response to a request to create sessions
type: object
properties:
return_url:
description: URL to requestor's endpoint to negotiate the session creation
type: string
sessions:
$ref: '#/components/schemas/SessionRequestArray'
required:
- sessions

responses:
ListLocationsResponse:
Expand Down

0 comments on commit 562e4cc

Please sign in to comment.