Organizations API
Actions in the organizations namespace of the Nexigon Hub API.
organizations_Query
POST/api/v1/actions/invoke/organizations_QueryQuery the organizations of the instance.
Request QueryOrganizationsAction
No fields.
Response QueryOrganizationsOutput
Fields (JSON object)
organizationsrequiredList of organizations.
array<QueryOrganizationsItem>
Items
QueryOrganizationsItem
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringnamerequiredName of the organization.
string
organizations_QueryMembers
POST/api/v1/actions/invoke/organizations_QueryMembersQuery the members of an organization.
Request QueryOrganizationMembersAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response QueryOrganizationMembersOutput
Fields (JSON object)
membersrequiredList of members.
array<QueryOrganizationMembersItem>
Items
QueryOrganizationMembersItem
Fields (JSON object)
userId(fromuser_id)requiredID of the user.
UserIdstringdisplayName(fromdisplay_name)optionalName of the user.
stringemailrequiredEmail of the user.
stringisAdmin(fromis_admin)requiredWhether the user is an administrator of the organization.
boolean
organizations_QueryProjects
POST/api/v1/actions/invoke/organizations_QueryProjectsQuery the projects of an organization.
Request QueryOrganizationProjectsAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response QueryOrganizationProjectsOutput
Fields (JSON object)
projectsrequiredList of projects.
array<QueryOrganizationProjectsItem>
Items
QueryOrganizationProjectsItem
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringnamerequiredName of the project.
string
organizations_QueryRepositories
POST/api/v1/actions/invoke/organizations_QueryRepositoriesQuery the repositories of an organization.
Request QueryOrganizationRepositoriesAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response QueryOrganizationRepositoriesOutput
Fields (JSON object)
repositoriesrequiredList of repositories.
array<QueryOrganizationRepositoriesItem>
Items
QueryOrganizationRepositoriesItem
Fields (JSON object)
repositoryId(fromrepository_id)requiredID of the repository.
RepositoryIdstringpublicName(frompublic_name)requiredPublic name of the repository.
stringdisplayName(fromdisplay_name)optionalDisplay name of the repository (if any).
string
organizations_QueryInvitations
POST/api/v1/actions/invoke/organizations_QueryInvitationsQuery the invitations of an organization.
Request QueryOrganizationInvitationsAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response QueryOrganizationInvitationsOutput
Fields (JSON object)
invitationsrequiredList of outstanding invitations.
array<QueryOrganizationInvitationsItem>
Items
QueryOrganizationInvitationsItem
Fields (JSON object)
invitationId(frominvitation_id)requiredID of the invitation.
OrganizationInvitationIdstringemailrequiredEmail address of the invited user.
stringinvitingUserId(frominviting_user_id)optionalID of the inviting user.
UserIdstring
organizations_Create
POST/api/v1/actions/invoke/organizations_CreateCreate an organization.
Request CreateOrganizationAction
Fields (JSON object)
namerequiredName of the organization.
stringadminsoptionalAdmins of the organization.
array<UserId>
Items
UserIdstringrequiresSubscription(fromrequires_subscription)requiredWhether the organization requires a subscription.
boolean
Response CreateOrganizationOutput
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
organizations_Delete
POST/api/v1/actions/invoke/organizations_DeleteDelete an organization.
Request DeleteOrganizationAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response Empty
No fields.
organizations_AddMember
POST/api/v1/actions/invoke/organizations_AddMemberAdd a user to an organization.
Request AddOrganizationMemberAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringuserId(fromuser_id)requiredID of the user to add.
UserIdstringisAdmin(fromis_admin)optionalWhether the user should be an administrator of the organization.
boolean
Response Empty
No fields.
organizations_RemoveMember
POST/api/v1/actions/invoke/organizations_RemoveMemberRemove a user from an organization.
Request RemoveOrganizationMemberAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringuserId(fromuser_id)requiredID of the user.
UserIdstring
Response Empty
No fields.
organizations_SetMemberIsAdmin
POST/api/v1/actions/invoke/organizations_SetMemberIsAdminSet whether the user is an administrator of the organization.
Request SetOrganizationMemberIsAdminAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringuserId(fromuser_id)requiredID of the user.
UserIdstringisAdmin(fromis_admin)requiredWhether the user should be an administrator of the organization.
boolean
Response Empty
No fields.
organizations_InviteMember
POST/api/v1/actions/invoke/organizations_InviteMemberInvite a user to an organization.
Request InviteOrganizationMemberAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringemailrequiredEmail address of the user to invite.
string
Response InviteOrganizationMemberOutput
Fields (JSON object)
invitationId(frominvitation_id)requiredID of the invitation.
OrganizationInvitationIdstring
organizations_DeleteInvitation
POST/api/v1/actions/invoke/organizations_DeleteInvitationDelete an invitation to an organization.
Request DeleteOrganizationInvitationAction
Fields (JSON object)
invitationId(frominvitation_id)requiredID of the invitation.
OrganizationInvitationIdstring
Response Empty
No fields.
organizations_QueryAuditLog
POST/api/v1/actions/invoke/organizations_QueryAuditLogQuery the audit log of an organization.
Request QueryOrganizationAuditLogAction
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstring
Response QueryOrganizationAuditLogOutput
Fields (JSON object)
eventsrequiredList of audit log events.
array<AuditLogEvent>
Items
AuditLogEvent
Fields (JSON object)
eventId(fromevent_id)requiredID of the audit log event.
AuditLogEventIdstringactorrequiredActor causing the event.
Actor
Casesinternally β tag field
actorAnonymousAn anonymous, unauthenticated actor.
{ "actor": "Anonymous", ...<payload fields> } β or "content" for non-object payloadsAnonymousActor
No fields.
SystemThe system itself, typically used for internal actions.
{ "actor": "System", ...<payload fields> } β or "content" for non-object payloadsSystemActor
No fields.
DeviceA device authenticated via a specific deployment token.
{ "actor": "Device", ...<payload fields> } β or "content" for non-object payloadsDeviceActor
Fields (JSON object)
deviceId(fromdevice_id)requiredID of the device.
DeviceIdstringtokenId(fromtoken_id)requiredID of the deployment token used for authentication.
DeploymentTokenIdstring
UserA user typically authenticated via a user session.
{ "actor": "User", ...<payload fields> } β or "content" for non-object payloadsUserActor
Fields (JSON object)
userId(fromuser_id)requiredID of the user.
UserIdstring
UserTokenA user authenticated via a specific token.
{ "actor": "UserToken", ...<payload fields> } β or "content" for non-object payloadsUserTokenActor
Fields (JSON object)
userId(fromuser_id)requiredID of the user.
UserIdstringtokenId(fromtoken_id)requiredID of the user token used for authentication.
UserTokenIdstring
ClusterNodeA cluster node.
{ "actor": "ClusterNode", ...<payload fields> } β or "content" for non-object payloadsClusterNodeActor
Fields (JSON object)
nodeId(fromnode_id)requiredID of the cluster node.
ClusterNodeIdstring
OrganizationApiTokenAn organization API token.
{ "actor": "OrganizationApiToken", ...<payload fields> } β or "content" for non-object payloadsOrganizationApiTokenActor
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringtokenId(fromtoken_id)requiredID of the API token.
OrganizationApiTokenIdstring
eventrequiredType of the event that was recorded.
stringdatarequiredAdditional audit data associated with the event.
JsonValueanycreatedAt(fromcreated_at)requiredTimestamp indicating when the audit log event was recorded.
TimestampstringactionoptionalAction the event has been caused by (if any).
AuditLogEventAction
Fields (JSON object)
actionId(fromaction_id)requiredID of the action.
AuditLogActionIdstring
joboptionalJob the event has been caused by (if any).
AuditLogEventJob
Fields (JSON object)
jobId(fromjob_id)requiredID of the job.
JobIdstring