Documentation NaosAndCo
  • Commandes
    • 📘Commandes
      • 🔧Administration
      • 🤖Auto Moderation
      • ⚒️Moderation
      • 🎨Anime
      • 🪙Economy
      • 😂Funny
      • 🎉Giveaway
      • 🖼️Image
      • 🛑Information
      • 🎵Music
      • 🫂Social
      • 📈Statistics
      • ✒️Suggestion
      • 🎫Ticket
      • 🔩Utilitaire
  • API
    • 1️⃣V1
      • 🖼️Photos
      • 🤣Blagues
      • 💌Motivation
Powered by GitBook
On this page
  1. API
  2. V1

Photos

PreviousV1NextBlagues

Last updated 6 months ago

API Base :

Texts in purple can be clicked for more information.

On this page, you will be explained how to use the Naos&Co API

The API return 2 JSON datas :

  • "status" : The status of the api

  • "message" : The photo/error message

Param
Method
Example

GET

https://api.naosandco.me/v1/image.php?type=all

Code Statut
Type
Définition

200

String

Status 200 tells you that the desired request was completed without errors.

400

String

Status 400 tells you that the desired request is incorrect (Bad parameter for example)

404

String

Status 404 tells you that the desired request does not exist or no longer exists.

500

String

Code 500 indicates a server error.

503

String

Status 503 tells you that the site is inaccessible, this may be due to a site downtime for example.

1️⃣
🖼️
https://api.naosandco.me/v1/image.php