Artisyn API
  1. Categories
Artisyn API
  • INTRODUCTION
  • Auth
    • OAUTH
      • Google
      • Google Callback
    • Login
      POST
    • Register
      POST
    • Verify Account
      PUT
    • Logout
      DELETE
    • Forgot Password
      POST
    • Reset Password
      PUT
  • Admin
    • Categories
      • List Categories
        GET
      • Create Category
        POST
      • Get Category
        GET
      • Update Category
        PUT
      • Delete Category
        DELETE
  • Categories
    • List Categories
      GET
    • Get Category
      GET
  • Curator
    • Artisans
      • List Artisans
      • Create Artisan
      • Show Artisan
      • Update Artisan
      • Toggle Activation
      • Bulk Operation
      • Delete Artisan
  • Index
    POST
  1. Categories

List Categories

Developing
GET
http://127.0.0.1:3000/api/admin/categories
Maintainer:Not configured

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200OK
application/json
Body

🟠401Authentication Failed
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:3000/api/admin/categories?search=Facilitator&page=1&limit=15&orderBy=id&orderDir=asc' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "data": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "icon": "string",
            "createdAt": "string",
            "updatedAt": "string"
        }
    ],
    "status": "string",
    "message": "string",
    "code": 0
}
Modified at 2025-05-17 07:26:03
Previous
Reset Password
Next
Create Category
Built with