Skip to content

Commit

Permalink
Make return type a heading parallel to request params in api-referenc…
Browse files Browse the repository at this point in the history
…e layout
  • Loading branch information
andrii-balitskyi committed Aug 26, 2024
1 parent 2dd3b8b commit 14c6ac1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions docs/api/acs/systems/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Returns a specified [access control system](../../../capability-guides/access-sy

Specify the desired access control system by including the corresponding `acs_system_id` in the request body.

Return Type: [acs_system](../README.md)

## Request Parameters

### `acs_system_id`
Expand All @@ -21,3 +19,6 @@ ID of the desired access control system.

---

## Return Type

[acs_system](../README.md)
5 changes: 3 additions & 2 deletions docs/api/acs/systems/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ To filter the list of returned access control systems by a specific connected ac
`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the
response includes all access control systems connected to your workspace.

Return Type: Array<[acs_system](../README.md)>

{% tabs %}
{% tab title="JavaScript" %}
### Request
Expand Down Expand Up @@ -82,3 +80,6 @@ ID of the connected account by which to filter the list of returned access contr

---

## Return Type

Array<[acs_system](../README.md)>
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Returns a list of all credential manager ACS systems that are compatible with a
Specify the ACS system for which you want to retrieve all compatible credential manager ACS
systems by including the corresponding `acs_system_id` in the request body.

Return Type: Array<[acs_system](../README.md)>

## Request Parameters

### `acs_system_id`
Expand All @@ -23,3 +21,6 @@ ID of the ACS system for which you want to retrieve all compatible credential ma

---

## Return Type

Array<[acs_system](../README.md)>
5 changes: 3 additions & 2 deletions src/layouts/api-reference.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

{{{description}}}

Return Type: {{#if response.resourceType}}{{#if (eq response.responseType "resource_list")}}Array<[{{response.resourceType}}](../README.md)>{{else}}[{{response.resourceType}}](../README.md){{/if}}{{else}}void{{/if}}

{{#if codeSamples.length}}
{% tabs %}
{{#each codeSamples}}
Expand Down Expand Up @@ -41,3 +39,6 @@ Required: {{#if this.required}}Yes{{else}}No{{/if}}
---
{{/each}}
## Return Type
{{#if response.resourceType}}{{#if (eq response.responseType "resource_list")}}Array<[{{response.resourceType}}](../README.md)>{{else}}[{{response.resourceType}}](../README.md){{/if}}{{else}}void{{/if}}

0 comments on commit 14c6ac1

Please sign in to comment.