psolymos / clickrup

Interacting with the ClickUp v2 API from R
https://peter.solymos.org/clickrup/
MIT License
18 stars 3 forks source link

Roadmap for v0.1 #1

Open psolymos opened 4 years ago

psolymos commented 4 years ago

ClickUp API v2.0 https://clickup.com/api

API reference Code Docs Tested Comments Priority
Attachments :white_check_mark: :white_check_mark: :white_check_mark: Need example
Authorization :white_check_mark: :white_check_mark: :x: OAuth flow only
Checklists :white_check_mark: :white_check_mark: :white_check_mark:
Comments :white_check_mark: :white_check_mark:
Custom Fields :white_check_mark: :white_check_mark:
Dependencies :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Folders :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Goals :white_check_mark: :white_check_mark:
Guests :white_check_mark: :white_check_mark: :x: Enterprise only
Lists :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Members :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Shared Hierarchy :white_check_mark: :white_check_mark:
Spaces :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Tags :white_check_mark: :white_check_mark:
Tasks :white_check_mark: :white_check_mark: :heavy_exclamation_mark:
Task Templates :white_check_mark: :white_check_mark:
Teams :white_check_mark: :white_check_mark: :white_check_mark:
Time Tracking :white_check_mark: :white_check_mark:
Users :white_check_mark: :white_check_mark: :x: Enterprise only
Views :white_check_mark: :white_check_mark:
Webhooks :white_check_mark: :white_check_mark:
psolymos commented 4 years ago

ClickUp support promptly addressed the attachment issue:

After discussing with our developers they've informed me that our API documentation is actually incorrect here.

They've provided me with this curl:

"curl --location --request POST 'https://api.clickup.com/api/v2/task/8gd5ki/attachment' \ --header 'Authorization: pk_xxx' \ --header 'Content-Type: multipart/form-data' \ --form 'filename=test.png' \ --form 'attachment=@/C:/Users/hhh/Downloads/Screen Shot 2020-06-17 at 9.49.44 AM.png'"

Where this line

--form 'attachment=@/C:/Users/hhh/Downloads/Screen Shot 2020-06-17 at 9.49.44 AM.png'

should contain the path to the file.