10650 lines
417 KiB
YAML
10650 lines
417 KiB
YAML
version: 4.3.0
|
|
type: DeclarativeSource
|
|
check:
|
|
type: CheckStream
|
|
stream_names:
|
|
- user
|
|
definitions:
|
|
streams:
|
|
user:
|
|
type: DeclarativeStream
|
|
name: user
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: user
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- user
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
team:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
space:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task:
|
|
type: DeclarativeStream
|
|
name: task
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/task
|
|
http_method: GET
|
|
request_parameters:
|
|
include_closed: "{{ config['include_closed_tasks']|lower }}"
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tasks
|
|
paginator:
|
|
type: DefaultPaginator
|
|
page_token_option:
|
|
type: RequestOption
|
|
inject_into: request_parameter
|
|
field_name: page
|
|
page_size_option:
|
|
type: RequestOption
|
|
field_name: page_size
|
|
inject_into: request_parameter
|
|
pagination_strategy:
|
|
type: OffsetIncrement
|
|
page_size: 1
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with
|
|
API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
creator:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_closed:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_created:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_updated:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- string
|
|
parent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- object
|
|
space:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
time_estimate:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_spent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
url:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_tracking_tags:
|
|
type: DeclarativeStream
|
|
name: time_tracking_tags
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id']}}/time_entries/tags
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- data
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time_tracking:
|
|
type: DeclarativeStream
|
|
name: time_tracking
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: task/{{ stream_partition['task_id'] }}/time
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- data
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: task_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: task
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/task
|
|
http_method: GET
|
|
request_parameters:
|
|
include_closed: "{{ config['include_closed_tasks']|lower }}"
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tasks
|
|
paginator:
|
|
type: DefaultPaginator
|
|
page_token_option:
|
|
type: RequestOption
|
|
inject_into: request_parameter
|
|
field_name: page
|
|
page_size_option:
|
|
type: RequestOption
|
|
field_name: page_size
|
|
inject_into: request_parameter
|
|
pagination_strategy:
|
|
type: OffsetIncrement
|
|
page_size: 1
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path:
|
|
team/{{ stream_partition['team_id']
|
|
}}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with
|
|
API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token:
|
|
"{{ config['api_token']
|
|
}}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong
|
|
with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
creator:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_closed:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_created:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_updated:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- string
|
|
parent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- object
|
|
space:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
time_estimate:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_spent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
url:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
intervals:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
billable:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
date_added:
|
|
type:
|
|
- string
|
|
- "null"
|
|
end:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
source:
|
|
type:
|
|
- string
|
|
- "null"
|
|
start:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tags:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
list_custom_fields:
|
|
type: DeclarativeStream
|
|
name: list_custom_fields
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/field
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- fields
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with
|
|
API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type: string
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
required:
|
|
- id
|
|
team_custom_fields:
|
|
type: DeclarativeStream
|
|
name: team_custom_fields
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition["team_id"] }}/field
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- fields
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
space_tags:
|
|
type: DeclarativeStream
|
|
name: space_tags
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/tag
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tags
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
project_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
team_goals:
|
|
type: DeclarativeStream
|
|
name: team_goals
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/goal
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- goals
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
archived:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_updated:
|
|
type:
|
|
- string
|
|
- "null"
|
|
due_date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
editor_token:
|
|
type:
|
|
- string
|
|
- "null"
|
|
group_members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
id:
|
|
type: string
|
|
key_result_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
last_update:
|
|
type:
|
|
- string
|
|
- "null"
|
|
members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
multiple_owners:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
owners:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
percent_completed:
|
|
type:
|
|
- number
|
|
- "null"
|
|
pinned:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
pretty_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
private:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|
|
list_comments:
|
|
type: DeclarativeStream
|
|
name: list_comments
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/comment
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- comments
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with
|
|
API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
comment:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
comment_text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type: string
|
|
reactions:
|
|
type:
|
|
- array
|
|
- "null"
|
|
reply_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|
|
base_requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
streams:
|
|
- type: DeclarativeStream
|
|
name: user
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: user
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- user
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
- type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- type: DeclarativeStream
|
|
name: task
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/task
|
|
http_method: GET
|
|
request_parameters:
|
|
include_closed: "{{ config['include_closed_tasks']|lower }}"
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tasks
|
|
paginator:
|
|
type: DefaultPaginator
|
|
page_token_option:
|
|
type: RequestOption
|
|
inject_into: request_parameter
|
|
field_name: page
|
|
page_size_option:
|
|
type: RequestOption
|
|
field_name: page_size
|
|
inject_into: request_parameter
|
|
pagination_strategy:
|
|
type: OffsetIncrement
|
|
page_size: 1
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API,
|
|
Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
creator:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_closed:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_created:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_updated:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- string
|
|
parent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- object
|
|
space:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
time_estimate:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_spent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
url:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- type: DeclarativeStream
|
|
name: time_tracking_tags
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id']}}/time_entries/tags
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- data
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
- type: DeclarativeStream
|
|
name: time_tracking
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: task/{{ stream_partition['task_id'] }}/time
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- data
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: task_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: task
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/task
|
|
http_method: GET
|
|
request_parameters:
|
|
include_closed: "{{ config['include_closed_tasks']|lower }}"
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tasks
|
|
paginator:
|
|
type: DefaultPaginator
|
|
page_token_option:
|
|
type: RequestOption
|
|
inject_into: request_parameter
|
|
field_name: page
|
|
page_size_option:
|
|
type: RequestOption
|
|
field_name: page_size
|
|
inject_into: request_parameter
|
|
pagination_strategy:
|
|
type: OffsetIncrement
|
|
page_size: 1
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API,
|
|
Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token:
|
|
"{{ config['api_token']
|
|
}}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong
|
|
with API, Please recheck all
|
|
ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
creator:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_closed:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_created:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_updated:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- string
|
|
parent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- object
|
|
space:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
time_estimate:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_spent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
url:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
intervals:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
billable:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
date_added:
|
|
type:
|
|
- string
|
|
- "null"
|
|
end:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
source:
|
|
type:
|
|
- string
|
|
- "null"
|
|
start:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tags:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
- type: DeclarativeStream
|
|
name: list_custom_fields
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/field
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- fields
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API,
|
|
Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type: string
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
required:
|
|
- id
|
|
- type: DeclarativeStream
|
|
name: team_custom_fields
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition["team_id"] }}/field
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- fields
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
- type: DeclarativeStream
|
|
name: space_tags
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/tag
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- tags
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
project_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
- type: DeclarativeStream
|
|
name: team_goals
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/goal
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- goals
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
archived:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_updated:
|
|
type:
|
|
- string
|
|
- "null"
|
|
due_date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
editor_token:
|
|
type:
|
|
- string
|
|
- "null"
|
|
group_members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
id:
|
|
type: string
|
|
key_result_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
last_update:
|
|
type:
|
|
- string
|
|
- "null"
|
|
members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
multiple_owners:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
owners:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
percent_completed:
|
|
type:
|
|
- number
|
|
- "null"
|
|
pinned:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
pretty_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
private:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|
|
- type: DeclarativeStream
|
|
name: list_comments
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: list/{{ stream_partition['list_id'] }}/comment
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- comments
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: list_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: list
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: folder/{{ stream_partition['folder_id'] }}/list
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message: Something wrong with API, Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- lists
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: folder_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: folder
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: space/{{ stream_partition['space_id'] }}/folder
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please recheck
|
|
all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- folders
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: space_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: space
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team/{{ stream_partition['team_id'] }}/space
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API, Please
|
|
recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- spaces
|
|
partition_router:
|
|
type: SubstreamPartitionRouter
|
|
parent_stream_configs:
|
|
- type: ParentStreamConfig
|
|
parent_key: id
|
|
partition_field: team_id
|
|
stream:
|
|
type: DeclarativeStream
|
|
name: team
|
|
primary_key:
|
|
- id
|
|
retriever:
|
|
type: SimpleRetriever
|
|
requester:
|
|
type: HttpRequester
|
|
url_base: https://api.clickup.com/api/v2/
|
|
authenticator:
|
|
type: ApiKeyAuthenticator
|
|
header: Authorization
|
|
api_token: "{{ config['api_token'] }}"
|
|
path: team
|
|
http_method: GET
|
|
error_handler:
|
|
type: CompositeErrorHandler
|
|
error_handlers:
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 500
|
|
error_message:
|
|
Something wrong with API,
|
|
Please recheck all ids
|
|
- type: DefaultErrorHandler
|
|
response_filters:
|
|
- type: HttpResponseFilter
|
|
action: IGNORE
|
|
http_codes:
|
|
- 404
|
|
record_selector:
|
|
type: RecordSelector
|
|
extractor:
|
|
type: DpathExtractor
|
|
field_path:
|
|
- teams
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
schema_loader:
|
|
type: InlineSchemaLoader
|
|
schema:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
comment:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
comment_text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type: string
|
|
reactions:
|
|
type:
|
|
- array
|
|
- "null"
|
|
reply_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|
|
spec:
|
|
type: Spec
|
|
connection_specification:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
required:
|
|
- api_token
|
|
properties:
|
|
api_token:
|
|
type: string
|
|
description: >-
|
|
Every ClickUp API call required authentication. This field is your
|
|
personal API token. See <a
|
|
href="https://clickup.com/api/developer-portal/authentication/#personal-token">here</a>.
|
|
order: 0
|
|
airbyte_secret: true
|
|
include_closed_tasks:
|
|
type: boolean
|
|
description: >-
|
|
Include or exclude closed tasks. By default, they are excluded. See <a
|
|
https://clickup.com/api/clickupreference/operation/GetTasks/#!in=query&path=include_closed&t=request">here</a>.
|
|
order: 5
|
|
title: Include Closed Tasks
|
|
default: false
|
|
additionalProperties: true
|
|
metadata:
|
|
autoImportSchema:
|
|
user: false
|
|
team: false
|
|
list: false
|
|
space: false
|
|
folder: false
|
|
task: false
|
|
time_tracking_tags: true
|
|
time_tracking: true
|
|
list_custom_fields: true
|
|
team_custom_fields: true
|
|
space_tags: true
|
|
team_goals: true
|
|
list_comments: true
|
|
yamlComponents:
|
|
global:
|
|
- authenticator
|
|
testedStreams:
|
|
user:
|
|
streamHash: 7176ff53062a223428ecb44db1db66e578621c5e
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
team:
|
|
streamHash: af69592494618f0fe3eae8065fab8a9f541264d4
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
list:
|
|
streamHash: e7a394b78d97097d82d3b6205f00a7776efcb249
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
space:
|
|
streamHash: 460deeb83e207d5cd0fb55895563c1731c93cd0d
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
folder:
|
|
streamHash: b6741eb32c353db9d9d4965df443c789e34441f6
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
task:
|
|
streamHash: 62ed778c46b789e6b6301ed5b7a1a628a2f723d6
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
time_tracking_tags:
|
|
streamHash: b9fc3e6eedb31e0ad3345412ff47048041f0e4e1
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
time_tracking:
|
|
streamHash: 5c0dacb941b6fd23301adad0ce79b2c469cf3193
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
list_custom_fields:
|
|
streamHash: 8541a6102f84cb9baf8f07954859dc5377f51833
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: false
|
|
team_custom_fields:
|
|
streamHash: dae304f3af38127a8b6af8852679ce7c82483888
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
space_tags:
|
|
streamHash: 1a66b563a72003ff4c5bf48e7fecb187b2dd0d6f
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
team_goals:
|
|
streamHash: 921a14d155ca527219909c94a0db0bfdde3d0b14
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
list_comments:
|
|
streamHash: f568cc9cf963d318d3d9703388d19bd77e752496
|
|
hasResponse: true
|
|
responsesAreSuccessful: true
|
|
hasRecords: true
|
|
primaryKeysArePresent: true
|
|
primaryKeysAreUnique: true
|
|
schemas:
|
|
user:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
team:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
avatar:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
members:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
archived:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
assignee:
|
|
type:
|
|
- "null"
|
|
- string
|
|
content:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
permission_level:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- string
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
- object
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
space:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
features:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
due_dates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_closed_due_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
remap_due_dates:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_estimates:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
time_tracking:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
enabled:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
multiple_assignees:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
private:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
statuses:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
hidden:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
lists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
override_statuses:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
space:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
access:
|
|
type:
|
|
- "null"
|
|
- boolean
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task_count:
|
|
type:
|
|
- "null"
|
|
- string
|
|
task:
|
|
type: object
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
assignees:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
checklists:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
creator:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
profilePicture:
|
|
type:
|
|
- "null"
|
|
- string
|
|
username:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_closed:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_created:
|
|
type:
|
|
- "null"
|
|
- string
|
|
date_updated:
|
|
type:
|
|
- "null"
|
|
- string
|
|
due_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
folder:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
list:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
name:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- string
|
|
parent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
priority:
|
|
type:
|
|
- "null"
|
|
- object
|
|
space:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type:
|
|
- "null"
|
|
- string
|
|
start_date:
|
|
type:
|
|
- "null"
|
|
- string
|
|
status:
|
|
type:
|
|
- "null"
|
|
- object
|
|
properties:
|
|
type:
|
|
type:
|
|
- "null"
|
|
- string
|
|
color:
|
|
type:
|
|
- "null"
|
|
- string
|
|
orderindex:
|
|
type:
|
|
- "null"
|
|
- integer
|
|
status:
|
|
type:
|
|
- "null"
|
|
- string
|
|
tags:
|
|
type:
|
|
- "null"
|
|
- array
|
|
items:
|
|
type:
|
|
- "null"
|
|
- object
|
|
time_estimate:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_spent:
|
|
type:
|
|
- "null"
|
|
- string
|
|
url:
|
|
type:
|
|
- "null"
|
|
- string
|
|
time_tracking_tags:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time_tracking:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
intervals:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
billable:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
date_added:
|
|
type:
|
|
- string
|
|
- "null"
|
|
end:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
source:
|
|
type:
|
|
- string
|
|
- "null"
|
|
start:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tags:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- string
|
|
- "null"
|
|
time:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
list_custom_fields:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type: string
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
required:
|
|
- id
|
|
team_custom_fields:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
hide_from_guests:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
type_config:
|
|
type:
|
|
- object
|
|
- "null"
|
|
space_tags:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
project_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_bg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
tag_fg:
|
|
type:
|
|
- string
|
|
- "null"
|
|
team_goals:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
description:
|
|
type:
|
|
- string
|
|
- "null"
|
|
archived:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
creator:
|
|
type:
|
|
- number
|
|
- "null"
|
|
date_created:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date_updated:
|
|
type:
|
|
- string
|
|
- "null"
|
|
due_date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
editor_token:
|
|
type:
|
|
- string
|
|
- "null"
|
|
group_members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
id:
|
|
type: string
|
|
key_result_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
last_update:
|
|
type:
|
|
- string
|
|
- "null"
|
|
members:
|
|
type:
|
|
- array
|
|
- "null"
|
|
multiple_owners:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
owners:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
percent_completed:
|
|
type:
|
|
- number
|
|
- "null"
|
|
pinned:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
pretty_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
private:
|
|
type:
|
|
- boolean
|
|
- "null"
|
|
team_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|
|
list_comments:
|
|
type: object
|
|
$schema: http://json-schema.org/schema#
|
|
additionalProperties: true
|
|
properties:
|
|
comment:
|
|
type:
|
|
- array
|
|
- "null"
|
|
items:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
comment_text:
|
|
type:
|
|
- string
|
|
- "null"
|
|
date:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type: string
|
|
reactions:
|
|
type:
|
|
- array
|
|
- "null"
|
|
reply_count:
|
|
type:
|
|
- number
|
|
- "null"
|
|
user:
|
|
type:
|
|
- object
|
|
- "null"
|
|
properties:
|
|
color:
|
|
type:
|
|
- string
|
|
- "null"
|
|
email:
|
|
type:
|
|
- string
|
|
- "null"
|
|
id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
initials:
|
|
type:
|
|
- string
|
|
- "null"
|
|
username:
|
|
type:
|
|
- string
|
|
- "null"
|
|
required:
|
|
- id
|