List all usecases
GEThttps://api.pharia.example.com/v1/os/usecases
List all usecases
Request
Query Parameters
filter string
UsecaseFilter is a struct that contains the filter fields for the usecase example: {"name":"test"}
limit int
Default value:
10
page int
Default value:
1
Responses
- 200
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (auto)
Schema
data object[]required
limitintegerrequired
pageintegerrequired
totalintegerrequired
{
"data": [
{
"createdAt": "string",
"deployment": {
"createdAt": "string",
"id": "string",
"message": "string",
"status": "pending",
"url": "string"
},
"description": "string",
"id": "string",
"name": "string"
}
],
"limit": 0,
"page": 0,
"total": 0
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
detailstring
Example:
Bad Request
instancestring
Example:
https://api.example.com/docs/errors/400
statusinteger
Example:
400
titlestring
Example:
Bad Request
typestring
{
"detail": "Bad Request",
"instance": "https://api.example.com/docs/errors/400",
"status": 400,
"title": "Bad Request",
"type": "string"
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
detailstring
Example:
Unauthorized
instancestring
Example:
https://api.example.com/docs/errors/401
statusinteger
Example:
401
titlestring
Example:
Unauthorized
typestring
{
"detail": "Unauthorized",
"instance": "https://api.example.com/docs/errors/401",
"status": 401,
"title": "Unauthorized",
"type": "string"
}
Forbidden
- application/json
- Schema
- Example (auto)
Schema
detailstring
Example:
Forbidden
instancestring
Example:
https://api.example.com/docs/errors/403
statusinteger
Example:
403
titlestring
Example:
Forbidden
typestring
{
"detail": "Forbidden",
"instance": "https://api.example.com/docs/errors/403",
"status": 403,
"title": "Forbidden",
"type": "string"
}
Internal Server Error
- application/json
- Schema
- Example (auto)
Schema
detailstring
Example:
Internal Server Error
instancestring
Example:
https://api.example.com/docs/errors/500
statusinteger
Example:
500
titlestring
Example:
Internal Server Error
typestring
{
"detail": "Internal Server Error",
"instance": "https://api.example.com/docs/errors/500",
"status": 500,
"title": "Internal Server Error",
"type": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://docs.aleph-alpha.com/usecases");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear