Test

Home

GET https://api.fluxpoint.dev/

Test if the API works.

Headers

Name
Type
Description

Authorization*

{
    "success": true,
    "code": 200,
    "message": "Hello API user - 12345",
    "website": "https://fluxpoint.dev",
    "discord": "https://discord.gg/fluxpoint",
    "docs": "https://docs.fluxpoint.dev/api",
    "twitter": "https://twitter.com/FluxpointDev",
    "email": "support@fluxpoint.dev",
    "donate": "https://patreon.com/fluxpointdev",
    "revolt": "https://app.revolt.chat/invite/J5Ras1J3"
}

GET https://api.fluxpoint.dev/test/gallery

Get a test gallery file response

Headers

Name
Type
Description

Authorization*

{
    "success": true,
    "code": 200,
    "message": "",
    "id": "22706878647631872",
    "file": "https://img.fluxpoint.dev/22706878647631872.png"
}

Test Image Generation

GET https://api.fluxpoint.dev/test/image

Get a test image data (raw bytes) to use with image generation. This will show a blue square.

Query Parameters

Name
Type
Description

type

(png/webp)

Optional image type to use, defaults to jpeg.

Headers

Name
Type
Description

Authorization*

Test Error

GET https://api.fluxpoint.dev/test/error

Get a test error response to handle errors.

Headers

Name
Type
Description

Authorization*

{
    "success": false,
    "code": 400,
    "message": "This is a bad request test"
}

Test Json

POST https://api.fluxpoint.dev/test/json

Respond back with the json content you have given to test API clients and placeholder formats

Headers

Name
Type
Description

Authorization*

{
    "key": "value",
    
}

Last updated