mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 years ago | |
|---|---|---|
| .. | ||
| README.md | 10 years ago | |
| util.go | 11 years ago | |
| v1-gen.go | 11 years ago | |
| v1-json.go | 10 years ago | |
| v1.json | 11 years ago | |
README.md
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