Asana: Memberships schemas
24 Asana schemas with complete fields and constraints.
← Memberships operations · All schemas
Get a membership — response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Get a membership — response body — data data — sdk__Membership Response |
Referenced models: Get a membership — response body — data data — sdk__Membership Response
Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_8a60f1590cfc
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *table* is a container for structured records (rows), with columns defined by custom field settings. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the table. |
Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_f6c1f3504a25
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *record* is a single row in a table. Fields on a record are backed by the table's custom field settings. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the record. |
Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Project Membership Compact Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand Get memberships from a project — response body — data, next page data item — Project Membership Compact |
$ (allOf 2) | object | All variants apply | |
$ (allOf 2).resource_type | string | Optional | The base type of this resource. |
$ (allOf 2).resource_subtype | string | Optional | Type of the membership. |
Referenced models: Get memberships from a project — response body — data, next page data item — Project Membership Compact
Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Record Membership Compact
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A user or team's membership in a record. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
resource_subtype | string | Optional | Type of the membership. |
parent | Model | Optional | Expand Search records in a workspace — response body — data data item The record the user or team is a member of. |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member Member can be a user or a team. |
access_level | string | Optional | The member's access level in the record. Known values: admin, editor, commenter, viewer Read only: true |
Referenced models: Get memberships from a project — response body — data, next page data item member, Search records in a workspace — response body — data data item
Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Table Membership Compact
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A user or team's membership in a table. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
resource_subtype | string | Optional | Type of the membership. |
parent | Model | Optional | Expand Get tables in a workspace — response body — data, next page data item The table the user or team is a member of. |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member Member can be a user or a team. |
access_level | string | Optional | The member's access level in the table. Known values: admin, editor, commenter, viewer Read only: true |
Referenced models: Get memberships from a project — response body — data, next page data item member, Get tables in a workspace — response body — data, next page data item
Get a membership — response body — data / data / access_level: admin, editor, user
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | This object describes a user or team's membership to a custom field including their level of access (Admin, Editor, or User). |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
resource_subtype | string | Optional | Type of the membership. |
parent | Model | Optional | Expand Get a membership — response body — data / data / access_level: admin, editor, user parent The custom field the user or team is a member of. |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member Member can be a user or a team. |
access_level | string | Optional | Whether the member has admin, editor, or user access to the custom field. Known values: admin, editor, user Read only: true |
Referenced models: Get memberships from a project — response body — data, next page data item member, Get a membership — response body — data / data / access_level: admin, editor, user parent
Get a membership — response body — data / data / access_level: admin, editor, user parent
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Custom Fields store the metadata that is used in order to add user-specified information to tasks in Asana. Be sure to reference the [custom fields](/reference/custom-fields) developer documentation for more information about how custom fields relate to various resources in Asana. Users in Asana can [lock custom fields](https://asana.com/guide/help/premium/custom-fields#gl-lock-fields), which will make them read-only when accessed by other users. Attempting to edit a locked custom field will return HTTP error code `403 Forbidden`. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the custom field. |
type | string | Optional | *Deprecated: new integrations should prefer the resource_subtype field.* The type of the custom field. Must be one of the given values. Known values: text, enum, multi_enum, number, date, people, reference Read only: true |
enum_options | array | Optional | *Conditional*. Only relevant for custom fields of type `enum` or `multi_enum`. This array specifies the possible values which an `enum` custom field can adopt. To modify the enum options, refer to [working with enum options](/reference/createenumoptionforcustomfield). |
enum_options[] | Model | Each item | Expand Create an enum option — response body — data data — Enum Option |
enabled | boolean | Optional | *Conditional*. This field applies only to [custom field values](/docs/custom-fields-guide#/accessing-custom-field-values-on-tasks-or-projects) and is not available for [custom field definitions](/docs/custom-fields-guide#/accessing-custom-field-definitions). Determines if the custom field is enabled or not. For more details, see the [Custom Fields documentation](/docs/custom-fields-guide#/enabled-and-disabled-values). Read only: true |
representation_type | string | Optional | This field tells the type of the custom field. Known values: text, enum, multi_enum, number, date, people, formula, custom_id, reference Read only: true |
id_prefix | JSON | Optional | |
id_prefix (anyOf 1) | string | Alternative | This field is the unique custom ID string for the custom field. |
id_prefix (anyOf 2) | null | Alternative | |
input_restrictions | array | Optional | |
input_restrictions[] | string | Each item | *Conditional*. Only relevant for custom fields of type `reference`. This array of strings reflects the allowed types of objects that can be written to a `reference` custom field value. Known values: task, project, portfolio, goal |
is_formula_field | boolean | Optional | *Conditional*. This flag describes whether a custom field is a formula custom field. |
is_lookup_field | boolean | Optional | *Conditional*. This flag describes whether a custom field is a lookup custom field. |
date_value | JSON | Optional | |
date_value (anyOf 1) | Model | Alternative | Expand Get a custom field — response body — data data date value date, date time |
date_value (anyOf 2) | null | Alternative | |
enum_value | JSON | Optional | |
enum_value (anyOf 1) | JSON | Alternative | |
enum_value (anyOf 1) (allOf 1) | Model | All variants apply | Expand Create an enum option — response body — data data — Enum Option |
enum_value (anyOf 1) (allOf 2) | object | All variants apply | *Conditional*. Only relevant for custom fields of type `enum`. This object is the chosen value of an `enum` custom field. |
enum_value (anyOf 2) | null | Alternative | |
multi_enum_values | array | Optional | *Conditional*. Only relevant for custom fields of type `multi_enum`. This object is the chosen values of a `multi_enum` custom field. |
multi_enum_values[] | Model | Each item | Expand Create an enum option — response body — data data — Enum Option |
number_value | JSON | Optional | |
number_value (anyOf 1) | JSON | Alternative | |
number_value (anyOf 1) (anyOf 1) | number | Alternative | *Conditional*. This number is the value of a `number` custom field. |
number_value (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
number_value (anyOf 2) | null | Alternative | |
text_value | JSON | Optional | |
text_value (anyOf 1) | string | Alternative | *Conditional*. This string is the value of a `text` custom field. |
text_value (anyOf 2) | null | Alternative | |
display_value | JSON | Optional | |
display_value (anyOf 1) | string | Alternative | A string representation for the value of the custom field. Integrations that don't require the underlying type should use this field to read values. Using this field will future-proof an app against new custom field types. Read only: true |
display_value (anyOf 2) | null | Alternative |
Referenced models: Create an enum option — response body — data data — Enum Option, Get a custom field — response body — data data date value date, date time
Get a membership — response body — data / data / access_level: admin, editor, user, viewer
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | This object describes a user or team's membership to a custom type including their level of access (Admin, Editor, User, or Viewer). |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
resource_subtype | string | Optional | Type of the membership. |
parent | Model | Optional | Expand Get a custom type — response body — data data asana created type identifier, gid, name, resource type The custom type the user or team is a member of. |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member Member can be a user or a team. |
access_level | string | Optional | Whether the member has admin, editor, user, or viewer access to the custom type. Known values: admin, editor, user, viewer Read only: true |
Referenced models: Get memberships from a project — response body — data, next page data item member, Get a custom type — response body — data data asana created type identifier, gid, name, resource type
Get a membership — response body — data / data / access_level: admin, editor, user, viewer parent
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. Custom Types extend the types of Asana Objects. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the custom type. |
asana_created_type_identifier | JSON | Optional | |
asana_created_type_identifier (anyOf 1) | string | Alternative | *Read-only*. A stable identifier present when this custom type was created by Asana as part of an Asana product (for example, a Command ticket type or a Service queue type). `null` for custom types created by users, and for Asana-created types that do not have a public identifier yet. New values may be added over time as Asana products introduce new types; integrations should tolerate unrecognized values. Known values: COMMAND_TICKET, COMMAND_RELEASE, COMMAND_TEAMSPACE, SERVICE_TICKET, SERVICE_CONVERSATION, SERVICE_QUEUE Read only: true |
asana_created_type_identifier (anyOf 2) | null | Alternative |
Get a membership — response body — data / data / access_level: admin, editor, viewer
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | This object determines if a user is a member of a portfolio. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
parent | Model | Optional | Expand Get a portfolio membership — response body — data data portfolio — Portfolio Compact The portfolio the user is a member of. |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member Member can be a user or a team. |
access_level | string | Optional | Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet. Known values: admin, editor, viewer Read only: true |
Referenced models: Get memberships from a project — response body — data, next page data item member, Get a portfolio membership — response body — data data portfolio — Portfolio Compact
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor access level: viewer, commenter, editor, admin, role: commenter, editor |
$ (allOf 2) | Model | All variants apply | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user, workspace |
Referenced models: Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor access level: viewer, commenter, editor, admin, role: commenter, editor, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user, workspace
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor access level: viewer, commenter, editor, admin, role: commenter, editor
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | This object represents a user's connection to a goal. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. |
resource_subtype | string | Optional | The type of membership. Read only: true |
member | Model | Optional | Expand Get memberships from a project — response body — data, next page data item member |
parent | JSON | Optional | |
parent (allOf 1) | Model | All variants apply | Expand Get parent goals from a goal — response body — data data item |
parent (allOf 2) | object | All variants apply | Read only: true |
role | string | Optional | *Deprecated: Describes if the member is a commenter or editor in goal.* Known values: commenter, editor |
access_level | string | Optional | "Describes the membership access level for the goal. This is preferred over role." Known values: viewer, commenter, editor, admin |
goal | JSON | Optional | |
goal (allOf 1) | Model | All variants apply | Expand Get parent goals from a goal — response body — data data item |
goal (allOf 2) | object | All variants apply | *Deprecated: new integrations should prefer the `parent` field.* A *Goal* is an object in the goal-tracking system that helps your organization drive measurable results. Read only: true |
Referenced models: Get parent goals from a goal — response body — data data item, Get memberships from a project — response body — data, next page data item member
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor goal
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. *Deprecated: new integrations should prefer the `parent` field.* A *Goal* is an object in the goal-tracking system that helps your organization drive measurable results. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the goal. |
owner | JSON | Optional | |
owner (anyOf 1) | Model | Alternative | Expand Get an OOO entry — response body — data data user |
owner (anyOf 2) | null | Alternative |
Referenced models: Get an OOO entry — response body — data data user
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor parent
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the goal. |
owner | JSON | Optional | |
owner (anyOf 1) | Model | Alternative | Expand Get an OOO entry — response body — data data user |
owner (anyOf 2) | null | Alternative |
Referenced models: Get an OOO entry — response body — data data user
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks.A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. *Deprecated: new integrations should prefer the `member` field.* A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | *Read-only except when same user as requester*. The user's name. |
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user, workspace
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
user | JSON | Optional | |
user (allOf 1) | Model | All variants apply | Expand Get users in a team — response body — data data item |
user (allOf 2) | object | All variants apply | *Deprecated: new integrations should prefer the `member` field.* A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. Read only: true |
workspace | JSON | Optional | |
workspace (allOf 1) | Model | All variants apply | Expand Update a workspace — request body — body data |
workspace (allOf 2) | object | All variants apply | *Deprecated:* A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace. Read only: true |
Referenced models: Get users in a team — response body — data data item, Update a workspace — request body — body data
Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor workspace
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace.A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace. *Deprecated:* A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the workspace. |
Get a membership — response body — data data — Membership Response
Referenced models: Get a membership — response body — data / data / access_level: admin, editor, user, Get a membership — response body — data / data / access_level: admin, editor, user, viewer, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor, Get a membership — response body — data / data / access_level: admin, editor, viewer, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Project Membership Compact Response, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Record Membership Compact, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Table Membership Compact
Get a membership — response body — data data — sdk__Membership Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. This object represents a user's connection to a goal. |
$ (anyOf 1).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 1).resource_type | string | Optional | The base type of this resource. |
$ (anyOf 1).resource_subtype | string | Optional | The type of membership. Read only: true |
$ (anyOf 1).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 1).parent | Model | Optional | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor parent |
$ (anyOf 1).role | string | Optional | *Deprecated: Describes if the member is a commenter or editor in goal.* Known values: commenter, editor |
$ (anyOf 1).access_level | string | Optional | "Describes the membership access level for the goal. This is preferred over role." Known values: viewer, commenter, editor, admin |
$ (anyOf 1).goal | Model | Optional | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor goal |
$ (anyOf 1).user | Model | Optional | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user |
$ (anyOf 1).workspace | Model | Optional | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor workspace |
$ (anyOf 2) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. This object describes a team or a user's membership to a project including their level of access (Admin, Editor, Commenter, or Viewer). |
$ (anyOf 2).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 2).resource_type | string | Optional | The base type of this resource. |
$ (anyOf 2).parent | Model | Optional | Expand Get a rate — response body — data data parent |
$ (anyOf 2).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 2).access_level | string | Optional | Whether the member has admin, editor, commenter, or viewer access to the project. Known values: admin, editor, commenter, viewer Read only: true |
$ (anyOf 2).resource_subtype | string | Optional | Type of the membership. |
$ (anyOf 3) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. This object determines if a user is a member of a portfolio. |
$ (anyOf 3).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 3).resource_type | string | Optional | The base type of this resource. Read only: true |
$ (anyOf 3).parent | Model | Optional | Expand Get a portfolio membership — response body — data data portfolio — shared_portfolio_6b231006e493 |
$ (anyOf 3).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 3).access_level | string | Optional | Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet. Known values: admin, editor, viewer Read only: true |
$ (anyOf 4) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. This object describes a user or team's membership to a custom field including their level of access (Admin, Editor, or User). |
$ (anyOf 4).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 4).resource_type | string | Optional | The base type of this resource. Read only: true |
$ (anyOf 4).resource_subtype | string | Optional | Type of the membership. |
$ (anyOf 4).parent | Model | Optional | Expand Get a goal — response body — data data custom fields item |
$ (anyOf 4).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 4).access_level | string | Optional | Whether the member has admin, editor, or user access to the custom field. Known values: admin, editor, user Read only: true |
$ (anyOf 5) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. This object describes a user or team's membership to a custom type including their level of access (Admin, Editor, User, or Viewer). |
$ (anyOf 5).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 5).resource_type | string | Optional | The base type of this resource. Read only: true |
$ (anyOf 5).resource_subtype | string | Optional | Type of the membership. |
$ (anyOf 5).parent | Model | Optional | Expand Get a membership — response body — data / data / access_level: admin, editor, user, viewer parent |
$ (anyOf 5).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 5).access_level | string | Optional | Whether the member has admin, editor, user, or viewer access to the custom type. Known values: admin, editor, user, viewer Read only: true |
$ (anyOf 6) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A user or team's membership in a table. |
$ (anyOf 6).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 6).resource_type | string | Optional | The base type of this resource. Read only: true |
$ (anyOf 6).resource_subtype | string | Optional | Type of the membership. |
$ (anyOf 6).parent | Model | Optional | Expand Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_8a60f1590cfc |
$ (anyOf 6).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 6).access_level | string | Optional | The member's access level in the table. Known values: admin, editor, commenter, viewer Read only: true |
$ (anyOf 7) | object | Alternative | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A user or team's membership in a record. |
$ (anyOf 7).gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
$ (anyOf 7).resource_type | string | Optional | The base type of this resource. Read only: true |
$ (anyOf 7).resource_subtype | string | Optional | Type of the membership. |
$ (anyOf 7).parent | Model | Optional | Expand Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_f6c1f3504a25 |
$ (anyOf 7).member | Model | Optional | Expand Get a project membership — response body — data data member |
$ (anyOf 7).access_level | string | Optional | The member's access level in the record. Known values: admin, editor, commenter, viewer Read only: true |
Referenced models: Get a goal — response body — data data custom fields item, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor goal, Get a project membership — response body — data data member, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor parent, Get a rate — response body — data data parent, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_8a60f1590cfc, Get a membership — response body — data / data / access_level: admin, editor, user, viewer parent, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer parent — shared_parent_f6c1f3504a25, Get a portfolio membership — response body — data data portfolio — shared_portfolio_6b231006e493, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor user, Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor workspace
Get multiple memberships — response body — data, next page
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | |
data[] | Model | Each item | Expand Get a membership — response body — data data — sdk__Membership Response |
next_page | Model | Optional | Expand Get goals — response body — data, next page next page |
Referenced models: Get goals — response body — data, next page next page, Get a membership — response body — data data — sdk__Membership Response
Get multiple memberships — response body — data, next page data item
Referenced models: Get a membership — response body — data / data / access_level: admin, editor, user, Get a membership — response body — data / data / access_level: admin, editor, user, viewer, Get multiple memberships — response body — data, next_page / data / item / access_level: viewer, commenter, editor, admin, role: commenter, editor, Get multiple memberships — response body — data, next_page / data / item / access_level: admin, editor, viewer, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Project Membership Compact Response, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Record Membership Compact, Get a membership — response body — data / data / access_level: admin, editor, commenter, viewer — Table Membership Compact
Get multiple memberships — response body — data, next_page / data / item / access_level: admin, editor, viewer
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand Get a membership — response body — data / data / access_level: admin, editor, viewer |
$ (allOf 2) | object | All variants apply | |
$ (allOf 2).resource_type | string | Optional | The base type of this resource. |
$ (allOf 2).resource_subtype | string | Optional | Type of the membership. |
Referenced models: Get a membership — response body — data / data / access_level: admin, editor, viewer
Get multiple memberships — response body — data, next_page / data / item / access_level: viewer, commenter, editor, admin, role: commenter, editor
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand Get a membership — response body — data / data / access_level: viewer, commenter, editor, admin, role: commenter, editor access level: viewer, commenter, editor, admin, role: commenter, editor |
$ (allOf 2) | object | All variants apply | |
$ (allOf 2).is_commenter | boolean | Optional | *Deprecated: new integrations should prefer the `access_level` field.* Describes if the member is comment only in goal. This field is deprecated and will always be null. Read only: true |
$ (allOf 2).is_editor | boolean | Optional | *Deprecated: new integrations should prefer the `access_level` field.* Describes if the member is editor in goal. This field is deprecated and will always be null. Read only: true |