Skip to content

Commit

Permalink
Table fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mastafit committed Jul 30, 2024
1 parent 24f82f5 commit b1c9570
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 37 deletions.
58 changes: 25 additions & 33 deletions generated-docs/api/acs/systems/list.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).
description:
Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).

To filter the list of returned access control systems by a specific connected account ID, include the
`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."
response includes all access control systems connected to your workspace.
---

# acsSystemsListPost
Expand All @@ -14,47 +15,39 @@ 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.

{% swagger src="https://connect.getseam.com/openapi.json" path="/acs/systems/list" method="POST" %}
{% swagger src="https://connect.getseam.com/openapi.json" path="/acs/systems/list"
method="POST" %}
[https://connect.getseam.com/openapi.json](https://connect.getseam.com/openapi.json)
{% endswagger %}

## Request

Not enough data

### Request Body Parameters
{% endswagger %} ## Request Not enough data ### Request Body Parameters

<table>
<thead>
<tr>
<th>Parameter</th>
<th width="112.33333333333331">Type</th>
<th width='112.33333333333331'>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">No parameters available.</td>
<td colspan='3'>No parameters available.</td>
</tr>
</tbody>
</table>

### Sample Request

<!-- prettier-ignore -->
{% tabs %}
{% tab title="javascript" %}
`javascript
<!-- prettier-ignore -->
{% tab title="javascript" %} ```javascript
await seam.acs.systems.list({&quot;connected_account_id&quot;:&quot;8d7e0b3a-b889-49a7-9164-4b71a0506a33&quot;})
`
{% endtab %}
{% tab title="python" %}
`python
``` {% endtab %}
<!-- prettier-ignore -->
{% tab title="python" %} ```python
seam.acs.systems.list(connected_account_id&#x3D;&quot;8d7e0b3a-b889-49a7-9164-4b71a0506a33&quot;)
`
{% endtab %}
{% endtabs %}

## Response
``` {% endtab %}
{% endtabs %} ## Response

OK

Expand All @@ -63,28 +56,27 @@ OK
<table>
<thead>
<tr>
<th width="310">Property</th>
<th width='310'>Property</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">No properties available.</td>
<td colspan='2'>No properties available.</td>
</tr>
</tbody>
</table>

### Sample Response

<!-- prettier-ignore -->
{% tabs %}
{% tab title="javascript" %}
`javascript
<!-- prettier-ignore -->
{% tab title="javascript" %} ```javascript
void
`
{% endtab %}
{% tab title="python" %}
`python
``` {% endtab %}
<!-- prettier-ignore -->
{% tab title="python" %} ```python
None
`
{% endtab %}
``` {% endtab %}
{% endtabs %}
22 changes: 18 additions & 4 deletions src/layouts/api-reference.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--- description: "{{{description}}}" --- #
{{title}}
---
description:
{{{description}}}
---

# {{title}}

{{{description}}}

Expand Down Expand Up @@ -33,14 +37,19 @@ method="{{request.preferredMethod}}" %}
</tbody>
</table>

### Sample Request {% tabs %}
### Sample Request

<!-- prettier-ignore -->
{% tabs %}
{{#each codeSamples}}
{{#each this.code}}
<!-- prettier-ignore -->
{% tab title="{{@key}}" %} ```{{@key}}
{{this.request}}
``` {% endtab %}
{{/each}}
{{else}}
<!-- prettier-ignore -->
{% tab title="No samples available" %} ``` No sample requests available. ```
{% endtab %}
{{/each}}
Expand Down Expand Up @@ -71,14 +80,19 @@ method="{{request.preferredMethod}}" %}
</tbody>
</table>

### Sample Response {% tabs %}
### Sample Response

<!-- prettier-ignore -->
{% tabs %}
{{#each codeSamples}}
{{#each this.code}}
<!-- prettier-ignore -->
{% tab title="{{@key}}" %} ```{{@key}}
{{this.response}}
``` {% endtab %}
{{/each}}
{{else}}
<!-- prettier-ignore -->
{% tab title="No samples available" %} ``` No sample responses available. ```
{% endtab %}
{{/each}}
Expand Down

0 comments on commit b1c9570

Please sign in to comment.