Skip to content

Commit 109c758

Browse files
authored
Merge pull request #2801 from port-labs/update-apispec-14-9
updated relevant paths
2 parents aa8df4b + a0e46a9 commit 109c758

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

docs/api-reference/change-an-action-automation.api.mdx

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/api-reference/get-an-integrations-metrics-and-sync-status.api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "This route allows you to get a specific integration's metrics and
55
sidebar_label: "Get an integration's metrics and sync status"
66
hide_title: true
77
hide_table_of_contents: true
8-
api: eJztWd1r40YQ/1cWvfQC/khK+2JKIXBtMKUQ7tJCCSa3lsb2nle7ut2RHdf4f7+ZlWzLthwlD6n7oIc4aOdj5+M3IzGzjhLwsVMZKmuiQfQwU144myMIqbVderGyuUArpoBCCp9BrCYqFsogTJ1kqR+8SAGdir2QJhF+ZWLhUWLuBSicgRP0I7RE8CisAWGdmNBfRZsDlur9Mnb9X8PPEOkMc2d8EGYqXQPPEOd85VY/35cASqUh2RmR0Y1zRRS+BGQ8E9lMerp2stNV3CR+Z4ZnmWYaOoFm8nRM0sQ5AYxnpNSOv0KMnvytGhKohdpORWjLjDOJYgkORCqzjLSU0vykzHQrSEoqLj9YoUE6I1JLgnJMOahG2XcEGRTPBZ+zssfExnkKBgN59GGGmPlBv0/HvpdZhz1l++Nc6aRLKXRdbye4lA66sUSp7bTPvnQTeuii3R1e9aJOhHLqo8FjNKxcH406USadpCiDY+o68mRQKqPBOsJVBgQeTwkw02jTiRRj6VsObkXqDAnRY5HkYUInDr7lykESDSZSUyhOQAhi+JEjeooRMeQ0EkgnCjRF1lPUJiggzXDVqSKt4BfsoFgqrcUYSkxB0iMbm+3PJM725ldywXFxRuojX9DlL7jCplV0hLpaSoNcXJYwS1ZTdbzOshnIBNzettscZ9apf4Pm5vj+Q3gQt/dDunoOpiceivJW2BFTy/YwYMTjPYFIyDi2uc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ZIyXNoWMMJ6+S6WXNmSiNL13IXmkr0CXtSQBDRfOS0OfeEZz0Q4afSzR17aattW0raZtNW/ZanZpb5tN22zaZtM2m7dsNoWPbadpO03badpO83ad5nXqiyFUY9hiBzwbvakZeVF2CWGSKDyAhC6qFHjUlGfJ60SOLDueR56bPtbOGo8miydzxHJquJ8CVmd++xle1fGqR00pOM7hPNrObcspbaMC0vDh6jrM9S48bwbnbP3gNQXv5bRuRlrnf6HnZY5/+H86/tN/Y8PwbzteDM1nliSjKQQ7eQM2iPqL636luPvr2l3YJmwU/9iVrAe32K4Kc6d5bbVbIantCimsu06pud8zjFhVnDuFq88c0SJoY5DuYBFBYr9DZd14vBOrLs7YVWUmNogr1Mwftl03d0NiXWwXIdF174rjnVmPqQxJLbXf8jrcvGwNHh3t39Z74LT79nbf3tkiGOnraj/TUoXqD0WxLkvwIVpcH75h6WlwbiVdrUOqnhmhl1Ws12OKw59ObzZ8XKznuToT5eVYn1sXH8L1zTfzZ8Ixp9o++A3BQuqc2UKDWEin2IVXuvPuU9kr34vXL+rPGLptR2ZVNXLrQH3KNiMSLHsTe1Dw3sQxZFjRcvKSYdd3Lfv213tqbN8By1TJFg==
99
sidebar_class_name: "get api-method"
1010
info_path: api-reference/port-api
1111
custom_edit_url: null
@@ -62,7 +62,7 @@ This route allows you to get a specific integration's metrics and sync status ei
6262
<StatusCodes
6363
id={undefined}
6464
label={undefined}
65-
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"count":{"type":"number"},"data":{"type":"array","items":{"type":"object","properties":{"integrationType":{"type":"string"},"integrationIdentifier":{"type":"string"},"integrationVersion":{"type":"string"},"oceanVersion":{"type":"string"},"kindIdentifier":{"type":"string"},"kind":{"type":"string"},"kindIndex":{"type":"number"},"eventId":{"type":"string"},"syncState":{"type":"string"},"blueprint":{"type":"string"},"metrics":{"type":"object","properties":{"phase":{"type":"object","properties":{"resync":{"type":"object","properties":{"duration_seconds":{"type":"number"},"success":{"type":"number"}},"additionalProperties":false},"load":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"extract":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"transform":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"delete":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false}},"additionalProperties":false}},"required":["phase"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["integrationType","integrationIdentifier","integrationVersion","oceanVersion","kindIdentifier","kind","eventId","syncState","metrics","createdAt","updatedAt"],"additionalProperties":false}}},"required":["ok","count","data"],"additionalProperties":false}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["ok","error"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["ok","error"],"additionalProperties":false}}}}}}
65+
responses={{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"count":{"type":"number"},"data":{"type":"array","items":{"type":"object","properties":{"integrationType":{"type":"string"},"integrationIdentifier":{"type":"string"},"integrationVersion":{"type":"string"},"oceanVersion":{"type":"string"},"kindIdentifier":{"type":"string"},"kind":{"type":"string"},"kindIndex":{"type":"number"},"eventId":{"type":"string"},"syncState":{"type":"string"},"blueprint":{"type":"string"},"metrics":{"type":"object","properties":{"phase":{"type":"object","properties":{"resync":{"type":"object","properties":{"duration_seconds":{"type":"number"},"success":{"type":"number"}},"additionalProperties":false},"load":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"extract":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"transform":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false},"delete":{"type":"object","properties":{"object_count_type":{"type":"object","properties":{"skipped":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"failed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"loaded":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"raw_extracted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"transformed":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"filtered_out":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false},"deleted":{"type":"object","properties":{"object_count":{"type":"number"}},"required":["object_count"],"additionalProperties":false}},"additionalProperties":false}},"required":["object_count_type"],"additionalProperties":false}},"additionalProperties":false}},"required":["phase"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["integrationType","integrationIdentifier","integrationVersion","oceanVersion","kindIdentifier","kind","eventId","syncState","metrics","createdAt","updatedAt"],"additionalProperties":false}}},"required":["ok","count","data"],"additionalProperties":false}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["ok","error"],"additionalProperties":false}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["ok","error"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["ok","error"],"additionalProperties":false}}}}}}
6666
>
6767

6868
</StatusCodes>

static/apispec.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20050,7 +20050,7 @@ paths:
2005020050
properties:
2005120051
identifier:
2005220052
type: string
20053-
pattern: ^(?!\.{1,2}$)[\p{L}0-9@_.+:\\/=-]+$
20053+
pattern: ^(?!\.{1,2}$)[\p{L}0-9@_.+:=-]+$
2005420054
description: The identifier of the action.
2005520055
title:
2005620056
type: string
@@ -33230,7 +33230,7 @@ paths:
3323033230
- message
3323133231
additionalProperties: false
3323233232
description: The json provided does not match the route's schema
33233-
"/v1/integration/{integrationInternalId}/syncMetrics":
33233+
/v1/integration/{integrationInternalId}/syncMetrics:
3323433234
get:
3323533235
summary: Get an integration's metrics and sync status
3323633236
description: This route allows you to get a specific integration's metrics and sync status either the latest one or for a specific resync.<br/><br/>It returns the sync's execution status and detailed metrics per kind for each phase of the sync.<br/> For example, the number of fetched objects in the sync's fetch phase, number of objects that were mapped in the mapping phase, etc.<br/><br/>To learn more about integrations, check out the [documentation](https://docs.port.io/build-your-software-catalog/sync-data-to-catalog/).
@@ -33615,6 +33615,23 @@ paths:
3361533615
- ok
3361633616
- error
3361733617
additionalProperties: false
33618+
"404":
33619+
description: Default Response
33620+
content:
33621+
application/json:
33622+
schema:
33623+
type: object
33624+
properties:
33625+
ok:
33626+
type: boolean
33627+
error:
33628+
type: string
33629+
message:
33630+
type: string
33631+
required:
33632+
- ok
33633+
- error
33634+
additionalProperties: false
3361833635
"500":
3361933636
description: Default Response
3362033637
content:

0 commit comments

Comments
 (0)