Skip to content

Commit

Permalink
Automated commit by github action: 13577472580
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-relations-sp committed Feb 27, 2025
1 parent fc7aed7 commit cfda16b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/api-specs/nerm/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ paths:
# Form Attributes
/form_attributes:
$ref: "./paths/form_attributes.yaml"
# Isc Accounts
/isc/accounts:
$ref: "./paths/isc_accounts.yaml"
/isc/accounts/{id}:
$ref: "./paths/isc_account.yaml"


security:
Expand Down
15 changes: 15 additions & 0 deletions static/api-specs/nerm/paths/isc_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,18 @@ get:
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
patch:
summary: Updates a profile via reverse mapping of schema-mapped fields
operationId: updateProfile
description: Updates a profile only through ISC schema-mapped attributes, performs a reverse mapping to match the NERM attributes to update.
tags:
- isc accounts
requestBody:
$ref: "../requestBodies/PATCH/ProfileAccount.yaml"
responses:
'200':
$ref: "../responses/Profile.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
29 changes: 29 additions & 0 deletions static/api-specs/nerm/requestBodies/PATCH/ProfileAccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
content:
application/json:
schema:
type: object
properties:
id:
name: id
in: query
required: true
type: string
format: uuid
description: The profile account id.
example: 79ed1cb6-9977-4965-9bfe-f2bcc2424444
profile:
name: profile
in: body
required: true
description: The profile object to be updated with its schema-mapped attributes.
type: object
properties:
attributes:
required: false
type: object
description: schema-mapped attributes to be updated
example:
attributes:
'First Name': John
'Last Name': Doe
'Email': [email protected]
Empty file.

0 comments on commit cfda16b

Please sign in to comment.