Subjects /group/{group-id}/subjects

The subjects attached to a group.

Reading

GET /group/{group-id}/subjects HTTP/1.1
Host: localhost:3000

Permissions

  • The applied permissions to retrieve the parent group are required.

Fields

An array of strings representing subjects of the parent group.

Publishing

POST /group/{group-id}/subjects HTTP/1.1
Host: localhost:3000

Permissions

  • The applied permissions to update the parent group are required.

Fields

Name Description Type

subjects

An array of subjects to add to the group.

string[]

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.

Updating

You can't update subjects. Delete the subject and after that, publish a new subject.

Deleting

DELETE /group/{group-id}/subjects HTTP/1.1
Host: localhost:3000

Permissions

  • The applied permissions to update the parent group are required.

Fields

Name Description Type

subjects

An array of subjects to add to the group.

string[]

Response

If successful :

{
    "success": true
}

Otherwise a relevant error message will be returned.