mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 04:19:09 +00:00
* added new oauth2 flow and description * renamed authentication to make more sense' by github action: 5967546682
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
post:
|
|
operationId: peekResourceObjects
|
|
tags:
|
|
- Sources
|
|
summary: Peek source connector's resource objects
|
|
description: >-
|
|
Retrieves a sample of data returned from account and group aggregation requests.
|
|
|
|
A token with ORG_ADMIN authority is required to call this API.
|
|
security:
|
|
- UserContextAuth: [idn:source-connector:manage]
|
|
parameters:
|
|
- in: path
|
|
name: sourceId
|
|
schema:
|
|
type: string
|
|
required: true
|
|
description: The ID of the Source
|
|
example: cef3ee201db947c5912551015ba0c679
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/ResourceObjectsRequest.yaml'
|
|
example: {
|
|
"objectType": "resource",
|
|
"maxCount": 50
|
|
}
|
|
responses:
|
|
'200':
|
|
description: List of resource objects that was fetched from the source connector.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/ResourceObjectsResponse.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'401':
|
|
$ref: '../../v3/responses/401.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'404':
|
|
$ref: '../../v3/responses/404.yaml'
|
|
'429':
|
|
$ref: '../../v3/responses/429.yaml'
|
|
'500':
|
|
$ref: '../../v3/responses/500.yaml'
|