{
  "opencollection": "1.0.0",
  "info": {
    "name": "ChartHop access group-type API",
    "version": "V1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "group-type",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return all groups in the organization paginated",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/org/:orgId/group-type",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Org identifier (either id or slug)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Group Type id to start paginating from"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return"
              },
              {
                "name": "returnAccess",
                "value": "",
                "type": "query",
                "description": "Return access information -- pass a list of actions to check, for example: create,update,delete"
              }
            ]
          },
          "docs": "Return all groups in the organization paginated"
        },
        {
          "info": {
            "name": "Create a group type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/org/:orgId/group-type",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Org identifier (either id or slug)"
              }
            ]
          },
          "docs": "Create a group type"
        },
        {
          "info": {
            "name": "Return a particular group type by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/org/:orgId/group-type/:groupTypeId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Org identifier (either id or slug)"
              },
              {
                "name": "groupTypeId",
                "value": "",
                "type": "path",
                "description": "Group Type id"
              }
            ]
          },
          "docs": "Return a particular group type by id"
        },
        {
          "info": {
            "name": "Update an existing group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v1/org/:orgId/group-type/:groupTypeId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Org identifier (either id or slug)"
              },
              {
                "name": "groupTypeId",
                "value": "",
                "type": "path",
                "description": "Group Type id"
              }
            ]
          },
          "docs": "Update an existing group"
        },
        {
          "info": {
            "name": "Delete a group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/org/:orgId/group-type/:groupTypeId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Org identifier (either id or slug)"
              },
              {
                "name": "groupTypeId",
                "value": "",
                "type": "path",
                "description": "Group Type id"
              }
            ]
          },
          "docs": "Delete a group"
        }
      ]
    }
  ],
  "bundled": true
}