Test

get
Responses
200
Success
application/json
get
GET / HTTP/1.1
Host: api.fluxpoint.dev
Accept: */*
200

Success

{
  "website": "https://fluxpoint.dev",
  "discord": "https://discord.gg/fluxpoint",
  "docs": "https://docs.fluxpoint.dev/api",
  "email": "[email protected]",
  "donate": "https://patreon.com/fluxpointdev",
  "revolt": "https://app.revolt.chat/invite/J5Ras1J3",
  "endpoints": "https://api.fluxpoint.dev/endpoints",
  "message": "",
  "success": true,
  "code": 200
}

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": "[email protected]",
    "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*

This will send you raw image data (bytes) of a jpge image for a blue square. You can also use ?type=png or ?type=webp to test image formats.

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