Create sequence diagrams with simple online tool

Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.

Title: SciTokens REST API Demo order: Notebook, demo.scitokens.org, curl, API Notebook -> demo.scitokens.org: request AT(get:/example post:/example put:/example delete:/example) demo.scitokens.org -> Notebook: AT(get:/example post:/example put:/example delete:/example) Notebook -> curl: AT curl -> API: POST [AT] /example/test1 [data] group: SciTokens Python API does this automatically note API: Need public key to verify AT API -> demo.scitokens.org: GET /.well-known/openid-configuration demo.scitokens.org -> API: HTTP/1.1 200 OK [JSON] API -> demo.scitokens.org: GET /oauth2/certs demo.scitokens.org -> API: HTTP/1.1 200 OK [JSON] note API: Save public key end note API: Verify AT API -> curl: HTTP/1.1 200 OK curl -> API: GET [AT] /example/test1 note API: Verify AT API -> curl: HTTP/1.1 200 OK [data] curl -> API: DELETE [AT] /example/test1 note API: Verify AT API -> curl: HTTP/1.1 200 OK curl -> API: GET [AT] /example/test1 note API: Verify AT API -> curl: HTTP/1.1 404 NOT FOUND curl -> API: GET [AT] /other/test1 note API: Verify AT API -> curl: HTTP/1.1 403 FORBIDDEN

SciTokens REST API Demo

Notebook
demo.scitokens.org
curl
API
request AT(get:/example post:/example put:/example delete:/example)
AT(get:/example post:/example put:/example delete:/example)
AT
POST [AT] /example/test1 [data]
SciTokens Python API does this automatically

Need public key to verify AT

GET /.well-known/openid-configuration
HTTP/1.1 200 OK [JSON]
GET /oauth2/certs
HTTP/1.1 200 OK [JSON]

Save public key

Verify AT

HTTP/1.1 200 OK
GET [AT] /example/test1

Verify AT

HTTP/1.1 200 OK [data]
DELETE [AT] /example/test1

Verify AT

HTTP/1.1 200 OK
GET [AT] /example/test1

Verify AT

HTTP/1.1 404 NOT FOUND
GET [AT] /other/test1

Verify AT

HTTP/1.1 403 FORBIDDEN
Notebook
demo.scitokens.org
curl
API
Notebook
demo.scitokens.org
curl
API