User Applications
Bearer authentication
Executed successfully.
Unauthorized
Forbidden
unexpected error
unexpected error
GET /api/v1/user-applications HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "my-user-app",
"id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
"clientId": "3434c-12323ab-4ce2ea6",
"createdAt": "2019-01-01T00:00:00Z",
"lastLogin": "2020-01-01T00:00:00Z"
}
]Bearer authentication
The name of the user application. The name must be unique within the user's applications list and can only contain lowercase alphanumeric characters and hyphens. It must start and end with a letter.
^[a-z][-_a-z0-9]*[a-z0-9]$Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
unexpected error
POST /api/v1/user-applications HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"name": "app-name"
}{
"id": "0eeaf222-e503-4f35-9d9c-c419816272e3",
"clientId": "5e7b3b7b4b7b4b7b",
"name": "app123",
"secret": "this-is-the-app-secret",
"createdAt": "2020-01-01T00:00:00Z"
}Bearer authentication
The application id to retrieve
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/user-applications/{appId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "my-user-app",
"id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
"clientId": "3434c-12323ab-4ce2ea6",
"createdAt": "2019-01-01T00:00:00Z",
"lastLogin": "2020-01-01T00:00:00Z"
}Bearer authentication
The application id to retrieve
Executed successfully.
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
DELETE /api/v1/user-applications/{appId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication
The application id to retrieve
Regenerated successfully.
Secret credential paired with the client ID. Used to obtain authentication tokens.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
POST /api/v1/user-applications/{appId}/secret HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"clientSecret": "this-is-my-secret"
}Bearer authentication
Filter results by clientId
3434c-12323ab-4ce2ea6-b44fc-db344dFilter results by creatdBy
test@run.aiExecuted successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/administration/user-applications HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "my-user-app",
"id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
"clientId": "1434c-123233ab-4ce2ea6-b44fc-db344d",
"createdBy": "test@run.ai",
"createdAt": "2020-01-01T00:00:00Z",
"lastLogin": "2020-01-01T00:00:00Z"
}
]Bearer authentication
The application id to retrieve
Executed successfully.
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
DELETE /api/v1/administration/user-applications/{appId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated