Theta
  1. Entity
Theta
  • Start your Apidog journey
  • Authentication
    • Registration
      POST
    • Verify email
      GET
    • Login
      POST
    • Refresh token
      POST
    • Forgot password
      POST
    • Verfy OTP
      POST
    • Change password
      PATCH
    • Logout
      POST
  • User
    • Get my profile
      GET
    • Update my profile
      PUT
    • Change my password
      PATCH
    • Delete my account
      DELETE
    • Reactive my account
      POST
    • Get my followers
      GET
    • Get my following
      GET
    • Follow User
      POST
    • Unfollow User
      POST
    • Get my entities
      GET
    • Get enrolled entities
      GET
    • Get users
      GET
    • Get user
      GET
  • Entity
    • Create entity
      POST
    • Get all entities
      GET
    • Get entity by ID
      GET
    • Get entity by invite code
      GET
    • Update entity
      PUT
    • Delete entity
      DELETE
    • Update join status
      PATCH
    • Join entity
      POST
  • Entity Users
    • Get entity users
    • Change user role
    • Delete entity user
  • Entity Roles
    • Get entity roles
    • Get entity role by id
    • Create entity role
    • Update entity role
    • Delete entity role
  • Inquiry task
    • Get entity's tasks
    • Get task by ID
    • Create inquiry task
    • Update an inquiry task
    • Delete an inquiry task
  • Inquiry problem
    • Get all
    • Get inquiry problem by ID
    • Create a new inquiry problem
    • Update an inquiry problem
    • Delete an inquiry problem
  • URL
    • Get all URLs
    • Get URL by ID
    • Create URL
    • Update URL
    • Delete URL
  1. Entity

Create entity

Developing
POST
/api/v1/entities

Request

Header Params

Body Params application/json

Example
{
    "name": "string",
    "category": "string",
    "status": "string",
    "startDate": "string",
    "endDate": "string",
    "educationLevel": "string",
    "description": "string",
    "joinStatus": "string",
    "invitedUsers": [
        "string"
    ]
}

Responses

🟢201Created
application/json
Body

Example
{
    "status": "string",
    "massage": "string",
    "data": {
        "entity": {
            "id": "string",
            "name": "string",
            "category": "string",
            "description": "string",
            "status": "string",
            "startDate": "string",
            "endDate": "string",
            "owner": "string",
            "joinStatus": "string",
            "educationLevel": "string",
            "defaultRole": "string",
            "inviteCode": "string"
        }
    }
}
🟢207created
🟠401Unauthorized
🟠422validation Error
🔴500Server Error
Previous
Get user
Next
Get all entities
Built with