Skip to content

Commit

Permalink
fix: Update ADaaS artifacts example (#69)
Browse files Browse the repository at this point in the history
The previous example was incorrect, this commit fixes it.

no-work-item
  • Loading branch information
erazemk authored Jul 29, 2024
1 parent 1b342da commit fb3dd53
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions fern/docs/pages/adaas/attachments-extraction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,29 @@ The uploaded artifact is structured like a normal artifact containing extracted
## Examples

Here is an example of an SSOR attachment file:
```json
[
{
"id": {
"external": "don:core:dvrv-us-1:devo/1:artifact/1" // The DON of the uploaded artifact
},
"parent_id": {
"external": "12345" // ID of the parent in the source system
},
"actor_id": {
"external": "123456" // ID of the uploader in the source system
}
},
{
"id": {
"external": "don:core:dvrv-us-1:devo/1:artifact/2" // The DON of the uploaded artifact
},
"parent_id": {
"external": "12344" // ID of the parent in the source system
},
"actor_id": {
"external": "123457" // ID of the uploader in the source system
}
}
]
```json lines
{
"id": {
"devrev": "don:core:dvrv-us-1:devo/1:artifact/1", // DON of the artifact, that S3interact returned
"external": "111" // ID of the artifact in the external service
},
"parent_id": {
"external": "1111" // ID of the parent object in the external service
},
"actor_id": {
"external": "11111" // ID of the actor that uploaded/modified the artifact in the external service
}
}
{
"id": {
"devrev": "don:core:dvrv-us-1:devo/1:artifact/2",
"external": "222"
},
"parent_id": {
"external": "2222"
},
"actor_id": {
"external": "22222"
}
}
```

0 comments on commit fb3dd53

Please sign in to comment.