openapi: 3.0.0 info: contact: email: hello@unified.to url: https://unified.to/contact description: One API to Rule Them All termsOfService: https://unified.to/tos title: Unified.to account project API version: '1.0' servers: - description: North American data region url: https://api.unified.to - description: European data region url: https://api-eu.unified.to - description: Australian data region url: https://api-au.unified.to security: - jwt: [] tags: - name: project paths: /task/{connection_id}/project: get: operationId: listTaskProjects parameters: - in: query name: limit required: false schema: type: number - in: query name: offset required: false schema: type: number - description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) in: query name: updated_gte required: false schema: type: string - in: query name: sort required: false schema: type: string - in: query name: order required: false schema: type: string - description: Query string to search. eg. email address or name in: query name: query required: false schema: type: string - description: The parent ID to filter by in: query name: parent_id required: false schema: type: string - description: The company ID to filter by (reference to HrisCompany) in: query name: company_id required: false schema: type: string - description: The user/employee ID to filter by (reference to HrisEmployee) in: query name: user_id required: false schema: type: string - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - parent_id - user_ids - group_ids - description - has_tasks - has_children - metadata - raw type: string type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/TaskProjects' description: Successful security: - jwt: [] summary: List All Projects tags: - project post: operationId: createTaskProject parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - parent_id - user_ids - group_ids - description - has_tasks - has_children - metadata - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/TaskProject' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/TaskProject' description: Successful security: - jwt: [] summary: Create a Project tags: - project /task/{connection_id}/project/{id}: delete: operationId: removeTaskProject parameters: - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Project in: path name: id required: true schema: type: string responses: '200': description: Successful default: content: {} description: Successful headers: Content-Type: required: false schema: type: string security: - jwt: [] summary: Remove a Project tags: - project get: operationId: getTaskProject parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - parent_id - user_ids - group_ids - description - has_tasks - has_children - metadata - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Project in: path name: id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/TaskProject' description: Successful security: - jwt: [] summary: Retrieve a Project tags: - project patch: operationId: patchTaskProject parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - parent_id - user_ids - group_ids - description - has_tasks - has_children - metadata - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Project in: path name: id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/TaskProject' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/TaskProject' description: Successful security: - jwt: [] summary: Update a Project tags: - project put: operationId: updateTaskProject parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - parent_id - user_ids - group_ids - description - has_tasks - has_children - metadata - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Project in: path name: id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/TaskProject' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/TaskProject' description: Successful security: - jwt: [] summary: Update a Project tags: - project components: schemas: property_TaskProject_user_ids: items: type: string type: array TaskProject: properties: created_at: format: date-time type: string description: type: string group_ids: $ref: '#/components/schemas/property_TaskProject_group_ids' has_children: type: boolean has_tasks: type: boolean id: type: string metadata: $ref: '#/components/schemas/property_TaskProject_metadata' name: type: string parent_id: type: string raw: additionalProperties: true type: object updated_at: format: date-time type: string user_ids: $ref: '#/components/schemas/property_TaskProject_user_ids' type: object TaskMetadata: properties: extra_data: additionalProperties: true anyOf: - type: object - type: string - type: number - type: boolean - items: anyOf: - type: object - type: string - type: number - type: boolean type: array format: enum: - TEXT - NUMBER - DATE - BOOLEAN - FILE - TEXTAREA - SINGLE_SELECT - MULTIPLE_SELECT - MEASUREMENT - PRICE - YES_NO - CURRENCY - URL type: string x-speakeasy-unknown-values: allow id: type: string key: type: string namespace: type: string slug: type: string type: type: string value: additionalProperties: true anyOf: - type: object - type: string - type: number - type: boolean - items: anyOf: - type: object - type: string - type: number - type: boolean type: array type: object property_TaskProject_group_ids: items: type: string type: array property_TaskProject_metadata: items: $ref: '#/components/schemas/TaskMetadata' type: array TaskProjects: items: $ref: '#/components/schemas/TaskProject' type: array securitySchemes: jwt: in: header name: authorization type: apiKey externalDocs: description: API Documentation url: https://docs.unified.to