v1.3.0
CurrentBreakingReleasedComment attachment reads, and a page address on every resource
An attachment inside a comment is now an object with an id, and an endpoint returns the attached file's text. Every resource now carries the address of its page in فريقي. *_slug fields and delete responses now name records by ref alone.
- Added
GETon/lists/{ref}/comments/{comment}/attachments/{id}and/tasks/{ref}/comments/{comment}/attachments/{id}, plus their nested twins under/projects/{project}/lists/{list}. They return the text of a file attached to a comment, withcomment_idandcomment_url. Only text files up to 256 KB are read; anything else is refused with a 422 that names it. Needscomments:read. - Added
urlon projects, task lists, tasks, majlis topics, comments, files, folders, events and search hits: the absolute address of the page a person opens in فريقي. A project member is the one record without it. - Added
widenedon the search response, always present. It names every kind where no record carried every word of the query, so its hits are near-misses. - AddedTwo error codes:
unknown_endpoint(404) for a path that matches no endpoint, echoing the path in its message, andproject_in_use(409) when deleting a project a connected integration feeds. - ChangedEach item in a comment's
attachmentsis now an object,{id, name, content_type, byte_size}. It used to be the file name alone. - Changed
project_slug,task_list_slug,task_sluganddiscussion_slugin responses carry the ref, not a slug. - ChangedDocumentation fix: the flat
POST /tasks/{ref}/movetakes a ref only intarget_task_list_slug, and the destination list may be in another project of the company. The docs used to say it stays in the same project. The nested address does stay inside its project. - ChangedThe majlis topic list returns published topics only; drafts are not listed.
- RemovedDelete responses for a task list, task and majlis topic no longer carry
slug. The deleted record is named byidalone.
What your integration has to do
- If you read
attachmentsas strings, readnamefrom each item. - If you show a
*_slugvalue to a person, it is a ref now. Showtitleorname. Passing it to any endpoint keeps working as before. - If you read
slugfrom a delete response, readidinstead. - To move a task through the flat address, send the destination list's ref, not its slug.