API Endpunkt:
https://dlx-content.com/api/v1/images
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/images' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname für Name. Standardwert: name.resolution1024x1024 für 1024×1024 (Square), 1536x1024 für 1536×1024 (Portrait), 1024x1536 für 1024×1536 (Landscape).qualitylow für Low, medium für Medium, high für High, auto für Auto.favoritesort_byid für Erstellungsdatum, name für Name. Standardwert: id.sortdesc für Absteigend, asc für Aufsteigend. Standardwert: desc.per_page10, 25, 50, 100. Standardwert: 100.API Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request GET 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API Endpunkt:
https://dlx-content.com/api/v1/images
Beispiel anfordern:
curl --location --request POST 'https://dlx-content.com/api/v1/images' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
namedescriptionresolution1024x1024 für 1024×1024 (Square), 1536x1024 für 1536×1024 (Portrait), 1024x1536 für 1024×1536 (Landscape).qualitylow für Low, medium für Medium, high für High, auto für Auto.API Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request PUT 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
namefavoriteAPI Endpunkt:
https://dlx-content.com/api/v1/images/{id}
Beispiel anfordern:
curl --location --request DELETE 'https://dlx-content.com/api/v1/images/{id}' \ --header 'Authorization: Bearer {api_key}'