Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
$kind: http-request
name: "Switch Driver Organization"
description: "Switches the driver session to another organization."
description: |-
Switches the driver session to another organization.

The driver must already belong to the target organization, and it must not be the one they are currently in — switching to the current organization is rejected. A driver created through `POST /drivers` belongs to a single organization, so this example uses one that belongs to more than one.
url: "{{base_url}}/{{namespace}}/drivers/:id/switch-organization"
method: POST
pathVariables:
- key: id
value: "{{driver_id}}"
value: "{{multi_org_driver_id}}"
description: (Required) A driver that belongs to more than one organization.

body:
type: json
content: |-
{
"next": "{{organization_id}}"
"next": "{{secondary_organization_id}}"
}

order: 12500
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
$kind: http-request
description: List Network Stores
description: |-
Lists the stores belonging to a network.

This endpoint requires a NETWORK session: authenticate with a network key rather than a store key. A store key is rejected with "Stores cannot have stores!".
url: "{{base_url}}/{{api_prefix}}/{{namespace}}/stores"
method: GET
headers:
- key: Authorization
value: "Bearer {{network_key}}"
description: A network key. The collection-level store key cannot reach this endpoint.
queryParams:
query: ""
limit: ""
Expand Down
Loading