POST/projects/api/v3/calendars.json

Create a new calendar.

Add a new Calendar.

Body Params

Request contains information of a calendar to be created or updated.

    • Name
      calendar
      Type
      object
      Description
      Calendar contains all the information returned from a calendar.
    • Name
      calendarOptions
      Type
      object
      Description
      Options are options for calendars

    Responses

    • Code
      201
      Type
      object
      Schema
      Description
      201 Created
      Response contains information about a specific calendar.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    201 Created

    Response
    {
      "calendar": {
        "canViewPlanning": true,
        "createdAt": "string",
        "id": 0,
        "name": "string",
        "primary": true,
        "type": "string",
        "updatedAt": "string"
      }
    }