dex/schema/adminschema
2016-02-01 16:09:39 -08:00
..
README.md schema: regenerate schemas with markdown documentation 2016-02-01 16:09:39 -08:00
util.go *: move original project to dex 2015-08-18 11:26:57 -07:00
v1-gen.go schema: disable user API 2015-09-29 16:46:30 -07:00
v1-json.go schema: regenerate schemas with markdown documentation 2016-02-01 16:09:39 -08:00
v1.json *: move original project to dex 2015-08-18 11:26:57 -07:00

Dex Admin API

The Dex Admin API.

Version: v1

Models

Admin

{
    email: string,
    id: string,
    password: string
}

State

{
    AdminUserCreated: boolean
}

Paths

POST /admin

Summary

Create Admin

Description

Create a new admin user.

Parameters

Name Located in Description Required Type
body Yes Admin

Responses

Code Description Type
200 Admin
default Unexpected error

GET /admin/{id}

Summary

Get Admin

Description

Retrieve information about an admin user.

Parameters

Name Located in Description Required Type
id path Yes string

Responses

Code Description Type
200 Admin
default Unexpected error

GET /state

Summary

Get State

Description

Get the state of the Dex DB

Responses

Code Description Type
200 State
default Unexpected error