Skip to content

Commit fb3dd53

Browse files
authored
fix: Update ADaaS artifacts example (#69)
The previous example was incorrect, this commit fixes it. no-work-item
1 parent 1b342da commit fb3dd53

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

fern/docs/pages/adaas/attachments-extraction.mdx

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,29 @@ The uploaded artifact is structured like a normal artifact containing extracted
3636
## Examples
3737

3838
Here is an example of an SSOR attachment file:
39-
```json
40-
[
41-
{
42-
"id": {
43-
"external": "don:core:dvrv-us-1:devo/1:artifact/1" // The DON of the uploaded artifact
44-
},
45-
"parent_id": {
46-
"external": "12345" // ID of the parent in the source system
47-
},
48-
"actor_id": {
49-
"external": "123456" // ID of the uploader in the source system
50-
}
51-
},
52-
{
53-
"id": {
54-
"external": "don:core:dvrv-us-1:devo/1:artifact/2" // The DON of the uploaded artifact
55-
},
56-
"parent_id": {
57-
"external": "12344" // ID of the parent in the source system
58-
},
59-
"actor_id": {
60-
"external": "123457" // ID of the uploader in the source system
61-
}
62-
}
63-
]
39+
```json lines
40+
{
41+
"id": {
42+
"devrev": "don:core:dvrv-us-1:devo/1:artifact/1", // DON of the artifact, that S3interact returned
43+
"external": "111" // ID of the artifact in the external service
44+
},
45+
"parent_id": {
46+
"external": "1111" // ID of the parent object in the external service
47+
},
48+
"actor_id": {
49+
"external": "11111" // ID of the actor that uploaded/modified the artifact in the external service
50+
}
51+
}
52+
{
53+
"id": {
54+
"devrev": "don:core:dvrv-us-1:devo/1:artifact/2",
55+
"external": "222"
56+
},
57+
"parent_id": {
58+
"external": "2222"
59+
},
60+
"actor_id": {
61+
"external": "22222"
62+
}
63+
}
6464
```

0 commit comments

Comments
 (0)