snap-ins

Resources Post

POST
Gets snap-in resources for a user in a snap-in.

Request

This endpoint expects an object.
id
stringRequired
The ID of the snap-in to get resources for.
user
stringRequired
The ID of the user to get resources for.

Response

This endpoint returns an object
snap_in_version
object
event_sources
objectOptional
inputs
map from strings to anyOptional
The inputs for the snap-in.
keyrings
objectOptional
POST
1curl -X POST https://api.devrev.ai/snap-ins.resources \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "id",
6 "user": "user"
7}'
200
Successful
1{
2 "snap_in_version": {
3 "id": "id",
4 "display_id": "display_id"
5 },
6 "event_sources": {
7 "key": "key",
8 "value": "value"
9 },
10 "inputs": {
11 "inputs": {
12 "key": "value"
13 }
14 },
15 "keyrings": {
16 "key": "key",
17 "value": {
18 "id": "id",
19 "secret": "secret"
20 }
21 }
22}