Skip to content

API Information

GET
/v1/
curl --request GET \
--url https://api.loyx.se/partners/v1/

Get API version information.

documentation points at the live Swagger UI where it is served (local and development, docs_urls_for) and at the public developer docs site (PARTNERS_DOCS_URL) everywhere else, never at a link that 404s.

Successful Response

Media typeapplication/json
Response Api Info V1 Get
object
key
additional properties
any

Example generated

{}

internal_server_error or database_error (type internal_error): our fault. Retry with backoff; quote request_id.

Media typeapplication/json
ErrorResponse

Standard error response format.

object
error
required
ErrorDetail

Error detail structure (Stripe-like format).

object
code
required
Code

Machine-readable error code

string
details
Any of:
Array<object>
FieldErrorDetail

One failing field of a validation error.

object
message
required
Message

Why the value was refused

string
param
required
Param

Dotted path of the field, e.g. items.0.unit_price.value

string
doc_url
Any of:
string
message
required
Message

Human-readable error message

string
param
Any of:
string
type
required
Type

Error type category

string
request_id
Any of:
string

Example generated

{
"error": {
"code": "example",
"details": [
{
"message": "example",
"param": "example"
}
],
"doc_url": "example",
"message": "example",
"param": "example",
"type": "example"
},
"request_id": "example"
}