API
POST/api/auth/magic-link

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/magic-link" \  -H "Content-Type: application/json" \  -d '{    "email": null,    "language": "en",    "tos_accepted": null  }'
{  "status": "string",  "expires_at": "2019-08-24T14:15:22Z",  "dev_magic_link": null}
GET/api/auth/registration

Antwortinhalt

application/json

application/problem+json

curl -X GET "https://api.tigby.eu/api/auth/registration"
{  "state": "string"}
POST/api/auth/magic-link/consume

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/magic-link/consume" \  -H "Content-Type: application/json" \  -d '{    "token": null  }'
{  "session_token": "string",  "session": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "expires_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "browser": null,    "os": null  },  "member": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "email": "string",    "email_verified_at": null,    "created_at": "2019-08-24T14:15:22Z"  },  "org": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "language": "string",    "tos_version": "string",    "tos_accepted_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "plan": "string"  }}
GET/api/auth/session
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Antwortinhalt

application/json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/auth/session"
{  "session": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "expires_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "browser": null,    "os": null  },  "member": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "email": "string",    "email_verified_at": null,    "created_at": "2019-08-24T14:15:22Z"  },  "org": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "language": "string",    "tos_version": "string",    "tos_accepted_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "plan": "string"  },  "tos": {    "current_version": "string",    "accepted_version": "string",    "accepted_at": "2019-08-24T14:15:22Z",    "effective_at": null,    "gated": true  }}
DELETE/api/auth/session
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Antwortinhalt

application/problem+json

application/problem+json

curl -X DELETE "https://api.tigby.eu/api/auth/session"
Leer
POST/api/auth/tos/acceptance
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/tos/acceptance" \  -H "Content-Type: application/json" \  -d '{    "version": null  }'
{  "current_version": "string",  "accepted_version": "string",  "accepted_at": "2019-08-24T14:15:22Z",  "effective_at": null,  "gated": true}
GET/api/auth/whoami
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Antwortinhalt

application/json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/auth/whoami"
{  "org": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "language": "string",    "tos_version": "string",    "tos_accepted_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "plan": "string"  },  "caller": {    "kind": "string",    "key_id": null,    "key_name": null,    "identity_id": null,    "handle": null,    "member": null  }}
GET/api/auth/sessions
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Antwortinhalt

application/json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/auth/sessions"
{  "current": "b6f6f63e-cd8b-43b2-a95a-2087cb7f8e11",  "sessions": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "expires_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "browser": null,      "os": null    }  ]}
DELETE/api/auth/sessions/{id}
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

id*string
Formatuuid

Antwortinhalt

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.tigby.eu/api/auth/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Leer
DELETE/api/auth/sessions/others
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Antwortinhalt

application/json

application/problem+json

application/problem+json

curl -X DELETE "https://api.tigby.eu/api/auth/sessions/others"
{  "ended": 0}
POST/api/auth/member/email
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/member/email" \  -H "Content-Type: application/json" \  -d '{    "email": null  }'
{  "status": "string",  "expires_at": "2019-08-24T14:15:22Z"}
POST/api/auth/member/email/confirm

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/member/email/confirm" \  -H "Content-Type: application/json" \  -d '{    "token": null  }'
{  "member": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "email": "string",    "email_verified_at": null,    "created_at": "2019-08-24T14:15:22Z"  },  "language": "string"}
POST/api/auth/device

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/device" \  -H "Content-Type: application/json" \  -d '{    "name": null,    "client": null  }'
{  "device_code": "string",  "user_code": "string",  "verification_uri": "string",  "verification_uri_complete": "string",  "expires_at": "2019-08-24T14:15:22Z",  "interval_seconds": 0}
POST/api/auth/device/token

Anfrageinhalt

application/json

TypeScript-Definitionen

Verwende den Typ request body in TypeScript.

Antwortinhalt

application/json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/device/token" \  -H "Content-Type: application/json" \  -d '{    "device_code": null  }'
{  "key": "string",  "api_key": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "scope": "string",    "identity_id": null,    "token_prefix": "string",    "created_at": "2019-08-24T14:15:22Z",    "last_used_at": null,    "revoked_at": null,    "created_by": null  }}
GET/api/auth/device/{userCode}
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

userCode*string

Antwortinhalt

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/auth/device/string"
{  "user_code": "string",  "name": "string",  "client": null,  "status": "string",  "created_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "identity": null}
POST/api/auth/device/{userCode}/approve
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

userCode*string

Antwortinhalt

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/device/string/approve"
Leer
POST/api/auth/device/{userCode}/deny
AutorisierungBearer <token>

Admin Key (tigby_admin_…) für Org-Aufrufe, Identity Key (tigby_id_…) für Ressourcen einer einzelnen Identity oder Konsolensitzung (tigby_sess_…). Gesendet als Authorization: Bearer <key>.

Übertragen in: header

Pfadparameter

userCode*string

Antwortinhalt

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/auth/device/string/deny"
Leer