DeprecatedThese endpoints are now deprecated in favor of the new Memberships endpoints which offer enhanced functionality for projects including setting membership access levels and adding teams as members.
ProjectMembershipCompact
Property | Type | Description |
---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
parent | object | A project represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. |
parent.gid | string | Globally unique identifier of the resource, as a string. |
parent.resource_type | string | The base type of this resource. |
parent.name | string | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
member | object | A member object represents either a team or user. |
member.gid | string | Globally unique identifier of the resource, as a string. |
member.resource_type | string | The type of the member (team or user) |
member.name | string | The name of the member |
access_level | string | Whether the member has admin, editor, commenter, or viewer access to the project. Click to show all enum values
|
Example JSON for ProjectMembershipCompact
:
{
"gid": "12345",
"resource_type": "project_membership",
"parent": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"member": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"access_level": "admin"
}
ProjectMembershipNormal
Property | Type | Description |
---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
parent | object | A project represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. |
parent.gid | string | Globally unique identifier of the resource, as a string. |
parent.resource_type | string | The base type of this resource. |
parent.name | string | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
member | object | A member object represents either a team or user. |
member.gid | string | Globally unique identifier of the resource, as a string. |
member.resource_type | string | The type of the member (team or user) |
member.name | string | The name of the member |
access_level | string | Whether the member has admin, editor, commenter, or viewer access to the project. Click to show all enum values
|
user | object | A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |
user.gid | string | Globally unique identifier of the resource, as a string. |
user.resource_type | string | The base type of this resource. |
user.name | string | Read-only except when same user as requester. The user's name. |
project | object | A project represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. |
project.gid | string | Globally unique identifier of the resource, as a string. |
project.resource_type | string | The base type of this resource. |
project.name | string | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
write_access | string | Whether the member has full access or comment-only access to the project. Click to show all enum values
|
Example JSON for ProjectMembershipNormal
:
{
"gid": "12345",
"resource_type": "project_membership",
"parent": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"member": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"access_level": "admin",
"user": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"project": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"write_access": "full_write"
}