Skip to content

Commit

Permalink
Fix PATCH /organization and add new property `is_approval_workflow_…
Browse files Browse the repository at this point in the history
…enabled` (#203)
  • Loading branch information
marwen-abid authored Aug 2, 2023
1 parent b8ed37c commit b5243e4
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion openapi/stellar-disbursement-platform/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1490,9 +1490,25 @@ paths:
description: 'Updates the organization profile details. Only account owners have permission to do this. Note: both fields are optional but at least one should be sent in the request. It is not necessary to set the header Content-Type for this request. It is set automatically by the HTTP client.'
tags:
- Organization
parameters: []
consumes:
- multipart/form-data
produces:
- application/json
parameters:
- in: formData
name: logo
type: file
description: 'The logo of the organization, file type must be png or jpeg.'
- in: formData
name: data
type: string
format: json
description: >
A JSON string that contains the details to update. Contains the following keys:
`organization_name` (string): the new name of the organization,
`timezone_utc_offset` (string): the new timezone offset of the organization,
`is_approval_workflow_enabled` (boolean): whether the approval workflow is enabled or not.
For example: '{"organization_name": "NewOrgName", "timezone_utc_offset": "+02:00", "is_approval_workflow_enabled": true}'
security:
- BearerAuth: []
/organization/logo:
Expand Down Expand Up @@ -2186,6 +2202,10 @@ definitions:
timezone_utc_offset:
type: string
example: '+00:00'
is_approval_workflow_enabled:
description: 'Enables multi-user approval workflow for disbursements'
type: boolean
example: true

Pagination:
type: "object"
Expand Down

0 comments on commit b5243e4

Please sign in to comment.