Web Results
10 nodes
On this page 10
Bad Request
Function400 Bad Request: what the client sent is wrong, said in a JSON error.
Signature
BadRequest(error: Text) -> EndpointResponse
EndpointResponse BadRequest(string error)
Parameters
| name | type | default | description |
|---|---|---|---|
| error | Text | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Conflict
Function409 Conflict: it clashes with what is there - a name taken, an edit of something changed meanwhile.
Signature
Conflict(error: Text) -> EndpointResponse
EndpointResponse Conflict(string error)
Parameters
| name | type | default | description |
|---|---|---|---|
| error | Text | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Created
Function201 Created, saying where the new thing is, with it as JSON.
Signature
Created(location: Text, value: Any) -> EndpointResponse
EndpointResponse Created(string location, object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| location | Text | — | Its address, such as /todos/3. |
| value | Any | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Forbidden
Function403 Forbidden: who the request is from is known, and not allowed this.
Signature
Forbidden(message: Text) -> EndpointResponse
EndpointResponse Forbidden(string message = "Forbidden.")
Parameters
| name | type | default | description |
|---|---|---|---|
| message | Text | Forbidden. |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
No Content
Function204 No Content: done, nothing to say.
Signature
NoContent() -> EndpointResponse
EndpointResponse NoContent()
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Not Found
Function404 Not Found, with a JSON error.
Signature
NotFound(message: Text) -> EndpointResponse
EndpointResponse NotFound(string message = "Not found.")
Parameters
| name | type | default | description |
|---|---|---|---|
| message | Text | Not found. |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Ok
Function200 OK with the value as JSON; text that already is JSON is sent as it is.
Signature
Ok(value: Any) -> EndpointResponse
EndpointResponse Ok(object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Any | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Problem
FunctionA problem in the RFC 9457 form ASP.NET Core's Results.Problem writes: status, title and detail, as application/problem+json.
Signature
Problem -> EndpointResponse
status: Integer
title: Text
detail: TextEndpointResponse Problem(
int status,
string title,
string detail)Parameters
| name | type | default | description |
|---|---|---|---|
| status | Integer | — | |
| title | Text | — | |
| detail | Text | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Status
FunctionAny status with a JSON body, for the answers the others do not name.
Signature
Status(status: Integer, value: Any) -> EndpointResponse
EndpointResponse Status(int status, object value)
Parameters
| name | type | default | description |
|---|---|---|---|
| status | Integer | — | |
| value | Any | — |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications
Unauthorized
Function401 Unauthorized: the request did not say who it is, or said it wrongly.
Signature
Unauthorized(message: Text) -> EndpointResponse
EndpointResponse Unauthorized(string message = "Unauthorized.")
Parameters
| name | type | default | description |
|---|---|---|---|
| message | Text | Unauthorized. |
Returns
| Result | EndpointResponse |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Web Results
- Package
- Web Applications