Module asana::apis::sections_api
source · [−]Enums
struct for typed errors of method
add_task_for_section
struct for typed errors of method
create_section_for_project
struct for typed errors of method
delete_section
struct for typed errors of method
get_section
struct for typed errors of method
get_sections_for_project
struct for typed errors of method
insert_section_for_project
struct for typed errors of method
update_section
Functions
Add a task to a specific, existing section. This will remove the task from other sections of the project. The task will be inserted at the top of a section unless an insert_before or insert_after parameter is declared. This does not work for separators (tasks with the resource_subtype of section).
Creates a new section in a project. Returns the full record of the newly created section.
A specific, existing section can be deleted by making a DELETE request on the URL for that section. Note that sections must be empty to be deleted. The last remaining section cannot be deleted. Returns an empty data block.
Returns the complete record for a single section.
Returns the compact records for all sections in the specified project.
Move sections relative to each other. One of
before_section
or after_section
is required. Sections cannot be moved between projects. Returns an empty data block.A specific, existing section can be updated by making a PUT request on the URL for that project. Only the fields provided in the
data
block will be updated; any unspecified fields will remain unchanged. (note that at this time, the only field that can be updated is the name
field.) When using this method, it is best to specify only those fields you wish to change, or else you may overwrite changes made by another user since you last retrieved the task. Returns the complete updated section record.