{
  "opencollection": "1.0.0",
  "info": {
    "name": "Certifyos Permission API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Permission",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:9000/permissions",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for offset based pagination (0-based index). Defaults to 0 if not specified."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Number of items per page. Defaults to 100 if not specified."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns all permissions from the database"
        },
        {
          "info": {
            "name": "Create Permission",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/permissions",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new permission"
        },
        {
          "info": {
            "name": "Get Permission by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:9000/permissions/:id",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a specific permission by its ID"
        },
        {
          "info": {
            "name": "Update Permission",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:9000/permissions/:id",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing permission"
        },
        {
          "info": {
            "name": "Delete Permission",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:9000/permissions/:id",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a permission by its ID"
        }
      ]
    }
  ],
  "bundled": true
}