-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync source by url endpoint, changes to input variables for send mess…
…age (#104) * sync osurce by url endpoint * type correction * body * uuid for input * stream * stream --------- Co-authored-by: Ria Balli <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,10 +133,10 @@ service: | |
userEmail: [email protected] | ||
inputVariables: [ | ||
{ | ||
name: "input1", urls: ["https://drive.google.com/file/d/123456/view"], | ||
name: "input1", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c24], | ||
}, | ||
{ | ||
name: "input2", urls: ["https://drive.google.com/file/d/123457/view", "https://drive.google.com/file/d/123458/view"] | ||
name: "input2", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c25, 82e4b12a-6990-45d4-8ebd-85c00e030c26], | ||
} | ||
] | ||
response: | ||
|
@@ -241,10 +241,10 @@ service: | |
email: [email protected] | ||
inputVariables: [ | ||
{ | ||
name: "input1", urls: ["https://drive.google.com/file/d/123456/view"], | ||
name: "input1", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c24], | ||
}, | ||
{ | ||
name: "input2", urls: ["https://drive.google.com/file/d/123457/view", "https://drive.google.com/file/d/123458/view"] | ||
name: "input2", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c25, 82e4b12a-6990-45d4-8ebd-85c00e030c26], | ||
} | ||
] | ||
response: | ||
|
@@ -297,10 +297,10 @@ service: | |
email: [email protected] | ||
inputVariables: [ | ||
{ | ||
name: "input1", urls: ["https://drive.google.com/file/d/123456/view"], | ||
name: "input1", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c26], | ||
}, | ||
{ | ||
name: "input2", urls: ["https://drive.google.com/file/d/123457/view", "https://drive.google.com/file/d/123458/view"] | ||
name: "input2", ids: [82e4b12a-6990-45d4-8ebd-85c00e030c25, 82e4b12a-6990-45d4-8ebd-85c00e030c24], | ||
} | ||
] | ||
response: | ||
|
@@ -441,7 +441,7 @@ types: | |
InputVariable: | ||
properties: | ||
name: string | ||
urls: list<string> | ||
ids: list<uuid> | ||
|
||
MessageReply: | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,20 @@ service: | |
response: | ||
body: | ||
documentId: 82e4b12a-6990-45d4-8ebd-85c00e030c24 | ||
syncSourceByUrl: | ||
path: /syncSourceByUrl | ||
docs: Sync a document from a source URL, permissions applied. Does not support recursive web search. | ||
method: POST | ||
request: SyncSourceByUrlRequest | ||
response: SyncSourceByUrlResponse | ||
examples: | ||
- name: Example0 | ||
request: | ||
sourceUrl: "https://drive.google.com/file/d/123456/view" | ||
uploadAsUserEmail: "[email protected]" | ||
response: | ||
body: | ||
sourceId: 82e4b12a-6990-45d4-8ebd-85c00e030c24 | ||
metadata: | ||
path: /metadata | ||
docs: Bulk patch metadata for documents, synced natively by Credal or manual API uploads | ||
|
@@ -105,3 +119,10 @@ types: | |
properties: | ||
sources: list<DocumentMetadataPatch> | ||
uploadAsUserEmail: string | ||
SyncSourceByUrlRequest: | ||
properties: | ||
uploadAsUserEmail: string | ||
sourceUrl: string | ||
SyncSourceByUrlResponse: | ||
properties: | ||
sourceId: uuid |