Skip to main content

Ascella Image uploader (2.0)

Download OpenAPI specification:Download

Ascella is the fastest image uploader utilizing rust to bring you the fastest upload speeds

Suggesting new routes

You can suggest new routes in the discord or send tricked#3777 a dm privaty for your use case for the route. Or even better you can make a pull request adding the route

Contributing

You can help by setting the right status code for every response this would help a ton in making the api docs!

Typescript interfaces

You can find typescript interfaces in the github repository in the ascella/bindings directory

Authentication

apiKey

Use format 'TOKEN'

Security Scheme Type API Key
Header parameter name: Authorization

Images

Stuff related to images

create a image

Upload a image to ascella

Authorizations:
Request Body schema: multipart/form-data
file_data
required
string <binary>

Responses

Response samples

Content type
application/json

get image

View a image uploaded to ascella

path Parameters
image
required
string
ext:(gif|webp|jpg|jpeg|png)$
required
string

get image stats

View the stats & info of an image

path Parameters
image
required
string

Responses

Response samples

Content type
application/json
{
  • "content_type": "string",
  • "embed": {
    },
  • "id": 0,
  • "image_size": "string",
  • "redirect": "string",
  • "user_id": 0,
  • "user_name": "string",
  • "views": 0
}

Dashboard

Stuff related to the Dashboard

set domain

set the domain of the user

Authorizations:
Request Body schema: application/json
domain
required
string

Responses

Request samples

Content type
application/json
{
  • "domain": "string"
}

Response samples

Content type
application/json
{
  • "code": 200,
  • "message": "Succesful Response",
  • "success": true
}

set embed

set the embed of the user

Authorizations:
Request Body schema: application/json
author
string
color
string
description
string
link
string
title
string
url
string

Responses

Request samples

Content type
application/json
{
  • "author": "Some author",
  • "color": "#5f8f91",
  • "description": "This is a image",
  • "link": "string",
  • "title": "Hi",
  • "url": "string"
}

Response samples

Content type
application/json
{
  • "code": 200,
  • "message": "Succesful Response",
  • "success": true
}

get images

View the images of a user

Authorizations:
Request Body schema: application/json
skip
required
integer <int32>

Responses

Request samples

Content type
application/json
{
  • "skip": 0
}

Response samples

Content type
application/json
[
  • {
    }
]

make a image public

Make a image public this endpoint is useless atm

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "code": 200,
  • "message": "Succesful Response",
  • "success": true
}

Create a redirect

Used to create redirects

Authorizations:
Request Body schema: application/json
to
required
string
vanity
required
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "code": 200,
  • "message": "Succesful Response",
  • "success": true
}

set domain

set the domain of the user

Authorizations:
Request Body schema: application/json
style
required
integer <int32>

Responses

Request samples

Content type
application/json
{
  • "style": 0
}

Response samples

Content type
application/json
{
  • "code": 200,
  • "message": "Succesful Response",
  • "success": true
}

Etc

Stuff not related to the above

get config

Returns the upload config of the given auth token

query Parameters
auth
required
string

get domains

Returns all ascella domains

Responses

Response samples

Content type
application/json
[
  • {
    }
]

get a language

Get a language file of ascella

query Parameters
lang
string

Responses

Response samples

Content type
application/json
{
  • "data": { }
}

get reviews

Get ascella reviews!

Responses

Response samples

Content type
application/json
[]

get ascella stats

provides some cool stats about ascella to use somewhere

Responses

Response samples

Content type
application/json
{}

verify a user

Used to check if a user is verified

Authorizations:

Responses