Group measure permission

A group measure permission.

Create a group measure permission

Create a new group measure permission for a group and a measure.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing group measure permission information.

group_id
required
integer >= 1

The group of the new group measure permission.

Without a group id the request will always return a 403 Forbidden response.

measure_id
required
integer >= 1

The measure of the new group measure permission.

Without a measure id the request will always return a 403 Forbidden response.

umask
required
integer

The permission level of the new group measure permission.

  • 0 - None
  • 1 - Read
  • 2 - Write
  • 3 - Admin
Enum: 0 1 2 3
Responses
201

Successful operation

422

Unprocessable Content

post/groupmeasurepermission
Request samples
application/json
{
  • "group_id": 8,
  • "measure_id": 2,
  • "umask": 3
}
Response samples
application/json
{
  • "success": true,
  • "hash": "8980ec7b71226748374f8303610ca0007862be89",
  • "data": {
    },
  • "timestamp": 1661952764464
}

Get all group measure permissions

Get all group measure permissions of the authenticated hub.

SecurityJWT
Request
query Parameters
measure
string or integer

Filter the group measure permission list for a measure.

measure_package
string or integer

Filter the group measure permission list for a measure package.

project
string or integer

Filter the group measure permission list for a project.

program
string or integer

Filter the group measure permission list for a program.

Responses
200

Successful operation

422

Unprocessable Content

get/groupmeasurepermission
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "e7f94f5fd9f5ad4004f731091912bcda09e5feb6",
  • "data": [
    ],
  • "timestamp": 1661953054035
}

Get a group measure permission

Get a group measure permission.

SecurityJWT
Request
path Parameters
groupmeasurepermission
required
string

The hash of the group.

Responses
200

Successful operation

404

Not Found

get/groupmeasurepermission/{groupmeasurepermission}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "88b447e7dfaa84926a621e0d78c27c6d6e2cda3d",
  • "data": {
    },
  • "timestamp": 1661953481636
}

Update a group measure permission

Update a group measure permission.

SecurityJWT
Request
path Parameters
groupmeasurepermission
required
string

The hash of the group.

Request Body schema: application/json

A JSON object containing group measure permission information.

umask
integer

The permission level of the group measure permission.

  • 0 - None
  • 1 - Read
  • 2 - Write
  • 3 - Admin
Enum: 0 1 2 3
Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/groupmeasurepermission/{groupmeasurepermission}
Request samples
application/json
{
  • "umask": 0
}
Response samples
application/json
{
  • "success": true,
  • "hash": "3ea3b3b6c0b2c1739f08af915bd58de77a62a4d4",
  • "data": {
    },
  • "timestamp": 1661953601401
}

Delete a group measure permission

Delete a group measure permission.

SecurityJWT
Request
path Parameters
groupmeasurepermission
required
string

The hash of the group.

Responses
200

Successful operation

404

Not Found

delete/groupmeasurepermission/{groupmeasurepermission}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": [ ],
  • "timestamp": 1661433827976
}