Download OpenAPI specification:
Get all groups of the user.
page | integer <int32> |
size | integer <int32> [ 1 .. 100 ] |
sort | string Enum: "asc" "desc" |
sortBy | string |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "isArchived": true,
- "createdAt": "string",
- "updatedAt": "string",
- "me": {
- "type": "membership",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
}
], - "totalPages": 10,
- "totalItems": 100,
- "currentPage": 1,
- "pageSize": 10,
- "hasNextPage": true
}
Create a new group. Only admin level can reach this endpoint.
title required | string |
description required | string |
Array of objects (Groups.AddMemberRequest) | |
Array of objects (Groups.CreateLinkRequest) |
{- "title": "string",
- "description": "string",
- "members": [
- {
- "member": "user@example.com",
- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391"
}
], - "links": [
- {
- "title": "string",
- "url": "string"
}
]
}
{- "addedResult": {
- "addedSuccessNumber": 0,
- "addedFailureNumber": 0,
- "errors": [
- {
- "member": "string",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "message": "string"
}
]
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "isArchived": true,
- "createdAt": "string",
- "updatedAt": "string",
- "me": {
- "type": "membership",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
}
{- "links": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "url": "string"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "isArchived": true,
- "createdAt": "string",
- "updatedAt": "string",
- "me": {
- "type": "membership",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
}
Create a link for a group. Will reject the request from access level 'user'.
id required | string |
title required | string The title of the link. |
url required | string The URL of the link. |
{- "title": "string",
- "url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "url": "string"
}
Update a link for a group. Will reject the request from access level 'user'.
id required | string |
linkId required | string |
title required | string The title of the link. |
url required | string The URL of the link. |
{- "title": "string",
- "url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "url": "string"
}
Get all members of a group. Will reject the request from access level 'user'.
id required | string |
page | integer <int32> |
size | integer <int32> [ 1 .. 100 ] |
sort | string Enum: "asc" "desc" |
sortBy | string |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fullName": "string",
- "email": "user@example.com",
- "studentId": "string",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
], - "totalPages": 10,
- "totalItems": 100,
- "currentPage": 1,
- "pageSize": 10,
- "hasNextPage": true
}
Add a member to a group. Will reject the request from access level 'user'.
id required | string |
required | Array of objects (Groups.AddMemberRequest) |
{- "members": [
- {
- "member": "user@example.com",
- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fullName": "string",
- "email": "user@example.com",
- "studentId": "string",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
Update a member's access level. Will reject the request from access level 'user'
id required | string |
memberId required | string |
roleId required | string <uuid> The role id of the member. |
{- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fullName": "string",
- "email": "user@example.com",
- "studentId": "string",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
Get all pending members of a group. Will reject the request from access level 'user'.
id required | string |
page | integer <int32> |
size | integer <int32> [ 1 .. 100 ] |
sort | string Enum: "asc" "desc" |
sortBy | string |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userIdentifier": "string",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
], - "totalPages": 10,
- "totalItems": 100,
- "currentPage": 1,
- "pageSize": 10,
- "hasNextPage": true
}
Update a pending member's access level. Will reject the request from access level 'user'
id required | string |
pendingId required | string |
roleId required | string <uuid> The role id of the member. |
{- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userIdentifier": "string",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
Transfer group ownership to another member. Will reject the request from access level 'user'
id required | string |
identifier required | string The new owner id in UUID format. |
{- "identifier": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "isArchived": true,
- "createdAt": "string",
- "updatedAt": "string",
- "me": {
- "type": "membership",
- "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
}
}
title required | string The public key title set by the user. |
publicKey required | string The public key of the user. |
{- "title": "string",
- "publicKey": "string"
}
{- "id": "string",
- "title": "string",
- "publicKey": "string"
}
fullName required | string The real name of the user. |
linuxUsername required | string The computer account name of the user. |
{- "fullName": "string",
- "linuxUsername": "string"
}
{- "fullName": "string",
- "linuxUsername": "string"
}
provider required | string (Auth.OAuthProviders) Enum: "google" "nycu" The OAuth2 provider to bind. |
c required | string The callback URL of the OAuth2 login. See details |
r | string The redirect URL for login callback. |
{- "url": "string"
}
provider required | string (Auth.OAuthProviders) Enum: "google" "nycu" The OAuth2 provider to use for login. |
c required | string The callback URL of the OAuth2 login. See details |
r | string The redirect URL for login callback. |
post new mapping between group wise role and group wise access level
role required | string The name of the role. |
accessLevel required | string The access level of the role. |
{- "role": "string",
- "accessLevel": "string"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
]
update mapping between group wise role and group wise access level
id required | string <uuid> (uuid) |
role required | string The name of the role. |
accessLevel required | string The access level of the role. |
{- "role": "string",
- "accessLevel": "string"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "roleName": "string",
- "accessLevel": "GROUP_OWNER"
}
]
page | integer <int32> |
size | integer <int32> [ 1 .. 100 ] |
sort | string Enum: "asc" "desc" |
sortBy | string |
filterBy | string The column to filter by. |
filterValue | string The value to filter by. |
{- "items": [
- {
- "id": 0,
- "name": "string",
- "comment": "string",
- "status": "string",
- "user": "string",
- "partition": "string",
- "resources": {
- "cpu": 0,
- "memory": 0,
- "gpu": 0
}
}
], - "totalPages": 10,
- "totalItems": 100,
- "currentPage": 1,
- "pageSize": 10,
- "hasNextPage": true
}
Count jobs by status.
status | string Enum: "RUNNING" "PENDING" "COMPLETED" "FAILED" "TIMEOUT" "CANCELLED" The status of jobs to count. If not provided, counts all statuses. |
{- "running": 0,
- "pending": 0,
- "completed": 0,
- "failed": 0,
- "timeout": 0,
- "cancelled": 0
}
Search for users by a query string with prefix search.
query required | string The search query string used to match facts and references. |
page | integer <int32> |
size | integer <int32> [ 1 .. 100 ] |
sort | string Enum: "asc" "desc" |
sortBy | string |
{- "items": [
- {
- "identifier": "string"
}
], - "totalPages": 10,
- "totalItems": 100,
- "currentPage": 1,
- "pageSize": 10,
- "hasNextPage": true
}