Ascella Image uploader (2.0)
Download OpenAPI specification:Download
Ascella is the fastest image uploader utilizing rust to bring you the fastest upload speeds
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
You can help by setting the right status code for every response this would help a ton in making the api docs!
You can find typescript interfaces in the github repository in the ascella/bindings directory
Response samples
- 201
Content type
application/json
{- "content_type": "string",
- "embed": {
- "color": "string",
- "description": "string",
- "title": "string",
- "url": "string"
}, - "id": 0,
- "image_size": "string",
- "redirect": "string",
- "user_id": 0,
- "user_name": "string",
- "views": 0
}
set domain
set the domain of the user
Authorizations:
Request Body schema: application/json
domain required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "domain": "string"
}
Response samples
- 201
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
- Payload
Content type
application/json
{- "author": "Some author",
- "color": "#5f8f91",
- "description": "This is a image",
- "link": "string",
- "title": "Hi",
- "url": "string"
}
Response samples
- 201
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
- Payload
Content type
application/json
{- "vanity": "google"
}
Response samples
- 201
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
- Payload
Content type
application/json
{- "style": 0
}
Response samples
- 201
Content type
application/json
{- "code": 200,
- "message": "Succesful Response",
- "success": true
}
Response samples
- 201
Content type
application/json
[- {
- "comment": "havent heard any voices since i started using ascella!",
- "name": "Deleted User"
}
]
Response samples
- 201
Content type
application/json
{- "created_date": 1629305469,
- "discord_api_version": 10,
- "fast": true,
- "rustc": "rustc 1.62.0-nightly (4c60a0ea5 2022-05-04)",
- "total_domains": 17,
- "total_uploads": 6441,
- "total_users": 100,
- "total_views": 87545,
- "upload_size": "string",
- "uptime": "1day 10h 7m 42s 572ms 387us 449ns",
- "usage": "56.89 MB"
}