Skip to content

Instantly share code, notes, and snippets.

@0x000000
Last active March 26, 2021 11:55
Show Gist options
  • Save 0x000000/5668175b023d69eff1dc05c71f7e87d6 to your computer and use it in GitHub Desktop.
Save 0x000000/5668175b023d69eff1dc05c71f7e87d6 to your computer and use it in GitHub Desktop.
{
"tasks": [
{
"id": 1,
"project_id": 1,
"summary": "Completed, active",
"lock_version": 1,
"updated_at": 1616198400,
"completed_at": 1616198400,
"status": "Active",
"can_update": true,
"can_manage": true,
"can_delete": true,
"assignees": [
{
"id": 0,
"name": "User Name",
"avatar_path": "/assets/hubstaff_auth/profile/default_thumb.png"
}
]
},
{
"id": 2,
"project_id": 1,
"summary": "Pending, active, cannot update",
"lock_version": 1,
"updated_at": 1616198400,
"completed_at": null,
"status": "Active",
"can_update": false,
"can_manage": true,
"can_delete": true,
"assignees": [
{
"id": 0,
"name": "User Name",
"avatar_path": "/assets/hubstaff_auth/profile/default_thumb.png"
}
]
},
{
"id": 3,
"project_id": 1,
"summary": "Pending, inactive, cannot delete",
"lock_version": 1,
"updated_at": 1616198400,
"completed_at": null,
"status": "Inactive",
"can_update": true,
"can_manage": true,
"can_delete": false,
"assignees": [
{
"id": 0,
"name": "User Name",
"avatar_path": "/assets/hubstaff_auth/profile/default_thumb.png"
}
]
},
{
"id": 4,
"project_id": 1,
"summary": "Completed, inactive, cannot manage, delete",
"lock_version": 1,
"updated_at": 1616198400,
"completed_at": 1616198405,
"status": "Inactive",
"can_update": true,
"can_manage": false,
"can_delete": false,
"assignees": [
{
"id": 0,
"name": "User Name",
"avatar_path": "/assets/hubstaff_auth/profile/default_thumb.png"
}
]
}
],
"project": {
"id": 1,
"has_hs_auth_linked": false,
"native_tasks_enabled": true,
"can_create_tasks": false,
"can_manage_tasks": false,
"integration_task_label": null,
"integration_tasks_label": null,
"integration_members_label": null,
"integration_icon_url": null,
"integration_name": null,
"integration_path": null,
"integration_links": [
{
"name": "Trello",
"path": "/organizations/1/integrations/wizard/new?type=trello&variant=standard"
},
{
"name": "Asana",
"path": "/organizations/1/integrations/wizard/new?type=asana&variant=standard"
},
{
"name": "Jira",
"path": "/organizations/1/integrations/wizard/new?type=jira&variant=standard"
}
]
},
"organization": {
"id": 1,
"can_manage_integrations": false,
"can_manage_projects": false,
"has_hs_auth_linked": false,
"has_integrations_tasks": false,
"projects_path": "/organizations/1/projects",
"new_project_path": "/organizations/1/projects/new",
"integrations_path": "/organizations/1/integrations",
"new_integration_path": "/organizations/1/integrations/new",
"plans_path": "/organizations/1/plans"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment