Memberships

Create a membership

Changed on

Create a new membership.

post/api/v2/memberships

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/memberships
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "memberships",
    "attributes": {
      "access_type_id": 1
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "12"
        }
      },
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      }
    }
  }
}

Response

Single membership

Example response

{
  "data": {
    "id": "7654",
    "type": "memberships",
    "attributes": {
      "access_type_id": 1,
      "dynamic_group_id": null,
      "options": {},
      "target_type": "project",
      "type_id": 1
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "12"
        }
      },
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      },
      "team": {
        "data": null
      }
    }
  },
  "included": []
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from integer to no type for status

    • breaking

      the // response's property type changed from object to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      removed the 10.00 enum value from the // response property for the response status

    • info

      removed the 11.00 enum value from the // response property for the response status

    • info

      removed the 12.00 enum value from the // response property for the response status

    • info

      removed the 2.00 enum value from the // response property for the response status

    • info

      removed the 6.00 enum value from the // response property for the response status

    • info

      removed the 8.00 enum value from the // response property for the response status

    • info

      removed the 9.00 enum value from the // response property for the response status

    This list may be incomplete.