No subresource for path attachements error

When I try add attachment to issue by using this command 
curl -X POST -v -i -F "upload=@d:/test_image.png" -H "Authorization: Bearer perm:xxx...xxx" -H "Content-Type: multipart/form-data" https://xxx.youtrack.cloud/api/issues/TS-2/attachements?fields=id,name


I get this error 
{"error":"Not Found","error_description":"No subresource for path attachements"}

What does it mean? 

Btw should it be "attachments", not "attachements"?




0
2 comments

Tomasz Klin it happens :) Glad to know that you've found the typo!

0

Please sign in to leave a comment.