EXTENSION API Endpoint

Version 2.197 (Release Notes ↗)

Description

Get the list of default activated file extensions like JPG, PNG, TIFF, BMP, and more for the PixLab API. Developers can enable additional formats like jp2 and webp by submitting a support request from their dashboard.

Return list of file extensions (i.e. JPG, PNG, TIFF, BMP, etc.) that are activated by default for the PixLab API. Note that PixLab support many although not common file extensions such as jp2, webp, etc. that are disabled by default. You can remove this limit by submitting a support request from your dashboard ↗ if you want to.

HTTP Methods

GET

HTTP Parameters

None

HTTP Response

Fields Type Description
status Integer Status code 200 indicates success. Any other code indicates failure (though this can't occur with this endpoint).
extensions Array Array containing the file extensions activated for your account.

Response

Content-Type: application/json

200 - The request always succeeds and returns a JSON Object with the following structure:

Code Samples

# Refer to the PixLab Github Repository at: https://github.com/symisc/pixlab for the full list of production ready code samples...
← Return to API Endpoint Listing