Last active
September 6, 2022 06:27
-
-
Save drushman/eafa3bd023d5667bb7580dee4db44a9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: 2.4.0 | |
info: | |
title: Eck service | |
version: 1.0.0 | |
description: Eck service events | |
channels: | |
domain-users.account.custom-fields.updated: | |
subscribe: | |
tags: | |
- name: eck-service | |
message: | |
$ref: '#/components/messages/EckIAMPayload' | |
eck.entity.update: | |
subscribe: | |
tags: | |
- name: eck-service | |
message: | |
$ref: '#/components/messages/EckPayload' | |
components: | |
schemas: | |
InstanceEntity: | |
instance: | |
type: string | |
entity-type: | |
type: string | |
id: | |
type: integer | |
messages: | |
EckIAMPayload: | |
payload: | |
type: object | |
properties: | |
specversion: | |
type: string | |
example: 1.0 | |
type: | |
type: string | |
example: domain-users.account.custom-fields.updated | |
source: | |
type: string | |
example: /eck/entity/363898/account/3986875 | |
id: | |
type: string | |
description: The GUID of the account | |
example: acc_01DRBZ0CR06CWKGDHR6WTKADHG | |
time: | |
type: string | |
data: | |
type: object | |
properties: | |
account_guid: | |
type: string | |
example: acc_01G3K07HH465GZF0H0J1BKPH0T | |
portal_id: | |
type: integer | |
actor_user_guid: | |
type: string | |
description: The GUID of the user who added the user to the group | |
example: usr_01G3JZYP8WJTTE31MQ2YPCSGRM | |
updated_at: | |
description: A timestamp value | |
type: integer | |
EckPayload: | |
payload: | |
type: object | |
properties: | |
$ref: '#/components/schemas/InstanceEntity' | |
original: | |
type: object | |
properties: | |
$ref: '#/components/schemas/InstanceEntity' | |
created: | |
type: integer | |
mail: | |
type: string | |
name: | |
type: string | |
timestamp: | |
type: integer | |
embedded: | |
type: object | |
properties: | |
eck: | |
type: object | |
example: | |
fields_12345: [] | |
portal: | |
type: array | |
items: | |
type: object | |
properties: | |
tittle: | |
type: string | |
status: | |
type: string | |
is_primary: | |
type: string | |
version: | |
type: string | |
data: | |
type: object | |
properties: | |
author: | |
type: string | |
user_plan: | |
type: object | |
properties: | |
license: | |
type: integer | |
product: | |
type: string | |
industry: | |
type: string | |
regional: | |
type: string | |
currency: | |
type: string | |
trial: | |
type: integer | |
expire: | |
type: integer | |
manual_price: | |
type: boolean | |
custom_contract: | |
type: boolean | |
partner_customer: | |
type: boolean | |
price: | |
type: integer | |
configuration: | |
type: object | |
properties: | |
is_virtial: | |
type: integer | |
user_invite: | |
type: integer | |
send_welcome_email: | |
type: string | |
site_name: | |
type: string | |
welcome: | |
type: string | |
login_version: | |
type: string | |
integrations: | |
type: object | |
setup_guide: | |
type: array | |
locale: | |
type: string | |
notify_on_enrolment_create: | |
type: boolean | |
dashboard_blocks: | |
type: object | |
modulesEnabled: | |
type: object | |
properties: | |
allowRegister: | |
type: boolean | |
projectGroup: | |
type: boolean | |
userMenusEnabled: | |
type: object | |
properties: | |
paymentDetail: | |
type: boolean | |
hide_groups_for_learners: | |
type: boolean | |
manual_payment: | |
type: boolean | |
manual_payment_recipient: | |
type: string | |
courseAuthorsEnabled: | |
type: boolean | |
public_writing: | |
type: boolean | |
discussionEnabled: | |
type: boolean | |
publicGroupsEnabled: | |
type: boolean | |
# testing | |
courseNavigationsEnabled: | |
type: object | |
properties: | |
footer: | |
type: boolean | |
side: | |
type: boolean | |
embed: | |
type: object | |
properties: | |
type: | |
type: string | |
apikey: | |
type: string | |
public_profiles: | |
type: boolean | |
content_provider_dashboard: | |
type: boolean | |
xero_contact_name: | |
type: string | |
csm_mail: | |
type: string | |
coupon_setting: | |
type: boolean | |
collections: | |
type: array | |
pay_per_seat: | |
type: boolean | |
content_admin_edit_user: | |
type: boolean | |
signup_message: | |
type: string | |
timezone: | |
type: string | |
content_admin_edit_notification: | |
type: boolean | |
landing_logout_page: | |
type: string | |
landing_login_page: | |
type: string | |
sso_button: | |
type: object | |
properties: | |
go1_auth0: | |
type: string | |
new_welcome_email: | |
type: boolean | |
signature_title: | |
type: string | |
signature_name: | |
type: string | |
logo: | |
type: string | |
featured_playlist: | |
type: string | |
signup_unit_options: | |
type: array | |
content_package_signup_flow: | |
type: boolean | |
enable_learner_signup_flow: | |
type: boolean | |
no_focus_terms: | |
type: boolean | |
disable_package_overview: | |
type: boolean | |
signup_tagline: | |
type: string | |
signup_secondary_tagline: | |
type: string | |
login_tagline: | |
type: string | |
login_secondary_tagline: | |
type: string | |
reset_password_url: | |
type: string | |
credit_card_legal_disclaimer: | |
type: string | |
portal_url_help_text: | |
type: string | |
preselect_packages: | |
type: array | |
company_size_stepper: | |
type: boolean | |
portal_creation_tagline: | |
type: string | |
portal_creation_secondary_tagline: | |
type: string | |
simplified_terms_agreement: | |
type: boolean | |
features: | |
type: object | |
properties: | |
marketplace: | |
type: boolean | |
user_invite: | |
type: boolean | |
auth0: | |
type: boolean | |
awards: | |
type: boolean | |
files: | |
type: object | |
properties: | |
feature_image_sizing_type: | |
type: string | |
login_background: | |
type: string | |
logo: | |
type: string | |
feature_image: | |
type: string | |
feature_image_mobile: | |
type: string | |
theme: | |
type: object | |
properties: | |
primary: | |
type: string | |
accent: | |
type: string | |
warn: | |
type: string | |
timestamp: | |
type: string | |
created: | |
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: 2.4.0 | |
info: | |
title: group-integration-user service | |
version: 1.0.0 | |
description: Repository is here https://code.go1.com.au/domain-groups/go1-core/group/services/group-integration-user | |
channels: | |
domain-groups.membership.created: | |
subscribe: | |
tags: | |
- name: group-integration-user-service | |
message: | |
$ref: '#/components/messages/MembershipCreatedPayload' | |
domain-groups.membership.updated: | |
subscribe: | |
tags: | |
- name: group-integration-user-service | |
message: | |
$ref: '#/components/messages/MembershipUpdatedPayload' | |
domain-groups.membership.deleted: | |
subscribe: | |
tags: | |
- name: group-integration-user-service | |
message: | |
$ref: '#/components/messages/MembershipDeletedPayload' | |
components: | |
messages: | |
MembershipCreatedPayload: | |
name: MembershipCreated | |
title: Membership create | |
summary: When user joins a group | |
payload: | |
type: object | |
properties: | |
specversion: | |
type: string | |
example: 1.0 | |
type: | |
type: string | |
example: domain-groups.membership.created | |
source: | |
type: string | |
example: /go1-core-group/membership | |
id: | |
type: string | |
time: | |
type: string | |
data: | |
type: object | |
properties: | |
id: | |
type: integer | |
description: The membership ID | |
account_guid: | |
type: string | |
example: acc_01G3K07HH465GZF0H0J1BKPH0T | |
portal_id: | |
type: integer | |
group_id: | |
type: integer | |
actor_user_guid: | |
type: string | |
description: The GUID of the user who added the user to the group | |
example: usr_01G3JZYP8WJTTE31MQ2YPCSGRM | |
created_at: | |
description: A timestamp value | |
type: integer | |
MembershipUpdatedPayload: | |
name: MembershipUpdated | |
title: Membership updated | |
summary: When the user membership is updated such as activate/deactivate or roles are granted/revoked | |
payload: | |
type: object | |
properties: | |
specversion: | |
type: string | |
example: 1.0 | |
type: | |
type: string | |
example: domain-groups.membership.updated | |
source: | |
type: string | |
example: /go1-core-group/membership/1111 | |
id: | |
type: string | |
description: The membership ID | |
time: | |
type: string | |
data: | |
type: object | |
properties: | |
id: | |
type: integer | |
description: The membership ID | |
account_guid: | |
type: string | |
example: acc_01G3K07HH465GZF0H0J1BKPH0T | |
portal_id: | |
type: integer | |
group_id: | |
type: integer | |
actor_user_guid: | |
type: string | |
description: The GUID of the user who updated the membership | |
example: usr_01G3JZYP8WJTTE31MQ2YPCSGRM | |
updated_at: | |
description: A timestamp value | |
type: integer | |
MembershipDeletedPayload: | |
name: MembershipDeleted | |
title: Membership deleted | |
summary: When user leaves a group | |
payload: | |
type: object | |
properties: | |
specversion: | |
type: string | |
example: 1.0 | |
type: | |
type: string | |
example: domain-groups.membership.deleted | |
source: | |
type: string | |
example: /go1-core-group/membership/1111 | |
id: | |
type: string | |
description: The membership ID | |
time: | |
type: string | |
data: | |
type: object | |
properties: | |
id: | |
type: integer | |
description: The membership ID | |
account_guid: | |
type: string | |
example: acc_01G3K07HH465GZF0H0J1BKPH0T | |
portal_id: | |
type: integer | |
group_id: | |
type: integer | |
actor_user_guid: | |
type: string | |
description: The GUID of the user who deted the membership | |
example: usr_01G3JZYP8WJTTE31MQ2YPCSGRM | |
updated_at: | |
description: A timestamp value | |
type: integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: 2.4.0 | |
info: | |
title: Iam service | |
version: 1.0.0 | |
description: Iam service events | |
channels: | |
users.user.created: | |
subscribe: | |
message: | |
$ref: '#/components/messages/UserCreatedPayload' | |
users.user.updated: | |
subscribe: | |
message: | |
$ref: '#/components/messages/UserUpdatedPayload' | |
users.account.created: | |
description: When account is creatd | |
subscribe: | |
message: | |
$ref: '#/components/messages/AccountCreatedPayload' | |
users.account.updated: | |
description: When account is updated | |
subscribe: | |
message: | |
$ref: '#/components/messages/AccountUpdatedPayload' | |
components: | |
messages: | |
UserCreatedPayload: | |
payload: | |
type: object | |
properties: | |
user_guid: | |
type: string | |
region: | |
type: string | |
created_at: | |
type: integer | |
updated_at: | |
type: integer | |
UserUpdatedPayload: | |
payload: | |
type: object | |
properties: | |
user_guid: | |
type: string | |
region: | |
type: string | |
updated_at: | |
type: integer | |
AccountCreatedPayload: | |
payload: | |
type: object | |
properties: | |
account_guid: | |
type: string | |
portal_id: | |
type: integer | |
created_at: | |
type: integer | |
updated_at: | |
type: integer | |
AccountUpdatedPayload: | |
payload: | |
type: object | |
properties: | |
account_guid: | |
type: string | |
portal_id: | |
type: integer | |
updated_at: | |
type: integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncapi: 2.4.0 | |
info: | |
title: User service | |
version: 1.0.0 | |
description: User service events | |
channels: | |
user.create: | |
subscribe: | |
tags: | |
- name: user-service | |
message: | |
$ref: '#/components/messages/UserPayload' | |
user.update: | |
subscribe: | |
tags: | |
- name: user-service | |
message: | |
$ref: '#/components/messages/UserPayload' | |
components: | |
messages: | |
UserPayload: | |
headers: | |
type: object | |
properties: | |
entity-type: | |
type: string | |
portal-name: | |
type: string | |
timestamp: | |
type: integer | |
payload: | |
type: object | |
properties: | |
instance: | |
type: string | |
roles: | |
type: array | |
items: {} | |
example: | |
- Student | |
profile_id: | |
type: integer | |
last_name: | |
type: string | |
created: | |
type: integer | |
id: | |
type: integer | |
mail: | |
type: string | |
name: | |
type: string | |
timestamp: | |
type: integer | |
embedded: | |
type: object | |
properties: | |
portal: | |
type: object | |
properties: | |
created: | |
type: string | |
id: | |
type: string | |
title: | |
type: string | |
status: | |
type: string | |
is_primary: | |
type: string | |
version: | |
type: string | |
first_name: | |
type: string | |
login: | |
type: integer | |
status: | |
type: boolean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment