Skip to content

Commit fa885a0

Browse files
committed
Merge branch 'develop'
2 parents 54d1777 + 048a4a7 commit fa885a0

33 files changed

+744
-749
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 9.5.0 - 2025-10-22
4+
5+
Switch API client examples from Postman to Bruno, see https://www.usebruno.com/compare/bruno-vs-postman.
6+
37
## 9.4.2 - 2025-09-29
48

59
Add support for expand=originalStoragePath in SearchRequest.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
meta {
2+
name: folder - create
3+
type: http
4+
seq: 2
5+
}
6+
7+
post {
8+
url: {{assetsUrl}}/api/folder
9+
body: json
10+
auth: inherit
11+
}
12+
13+
body:json {
14+
{
15+
"path": "",
16+
"metadata": {
17+
"field": "value"
18+
}
19+
}
20+
}
21+
22+
settings {
23+
encodeUrl: true
24+
timeout: 0
25+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
meta {
2+
name: folder - get
3+
type: http
4+
seq: 1
5+
}
6+
7+
get {
8+
url: {{assetsUrl}}/api/folder/get?path
9+
body: none
10+
auth: inherit
11+
}
12+
13+
params:query {
14+
path:
15+
}
16+
17+
settings {
18+
encodeUrl: true
19+
timeout: 0
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
meta {
2+
name: folder - remove
3+
type: http
4+
seq: 4
5+
}
6+
7+
delete {
8+
url: {{assetsUrl}}/api/folder/:id
9+
body: none
10+
auth: inherit
11+
}
12+
13+
params:path {
14+
id:
15+
}
16+
17+
settings {
18+
encodeUrl: true
19+
timeout: 0
20+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
meta {
2+
name: folder - update
3+
type: http
4+
seq: 3
5+
}
6+
7+
put {
8+
url: {{assetsUrl}}/api/folder/:id
9+
body: json
10+
auth: inherit
11+
}
12+
13+
params:path {
14+
id:
15+
}
16+
17+
body:json {
18+
{
19+
"metadata": {
20+
"field": "value"
21+
}
22+
}
23+
}
24+
25+
settings {
26+
encodeUrl: true
27+
timeout: 0
28+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
meta {
2+
name: download file
3+
type: http
4+
seq: 2
5+
}
6+
7+
get {
8+
url: {{assetsUrl}}/file/:assetId/*/:filename?_=&forceDownload=true
9+
body: none
10+
auth: inherit
11+
}
12+
13+
params:query {
14+
_:
15+
forceDownload: true
16+
}
17+
18+
params:path {
19+
assetId:
20+
filename:
21+
}
22+
23+
settings {
24+
encodeUrl: true
25+
timeout: 0
26+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
meta {
2+
name: search relation
3+
type: http
4+
seq: 17
5+
}
6+
7+
post {
8+
url: {{assetsUrl}}/services/search
9+
body: multipartForm
10+
auth: inherit
11+
}
12+
13+
body:multipart-form {
14+
q: relatedTo:{{containerId}} relationTarget:{{relationTarget}} relationType:{{relationType}} id:{{assetId}}
15+
~metadataToReturn:
16+
~num:
17+
}
18+
19+
vars:pre-request {
20+
containerId:
21+
relationTarget: child
22+
relationType: contains
23+
assetId:
24+
}
25+
26+
settings {
27+
encodeUrl: true
28+
timeout: 60000
29+
followRedirects: true
30+
maxRedirects: 5
31+
}
32+
33+
docs {
34+
WoodWing Helpcenter: [The Assets Server query syntax - Additional queries](https://helpcenter.woodwing.com/hc/en-us/articles/360041854172-The-Assets-Server-query-syntax#additional-queries)
35+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
meta {
2+
name: system - active-users
3+
type: http
4+
seq: 5
5+
}
6+
7+
get {
8+
url: {{assetsUrl}}/private-api/system/active-users
9+
body: none
10+
auth: inherit
11+
}
12+
13+
settings {
14+
encodeUrl: true
15+
timeout: 0
16+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
meta {
2+
name: system - asset update start
3+
type: http
4+
seq: 5
5+
}
6+
7+
post {
8+
url: {{assetsUrl}}/private-api/system/asset/update/start
9+
body: json
10+
auth: inherit
11+
}
12+
13+
body:json {
14+
{
15+
"filterQuery": "id:ASSET_ID",
16+
"extractMetadata": false,
17+
"reEmbedMetadata": false,
18+
"extractTextContent": false,
19+
"deleteRemovedAssetsFromIndex": false,
20+
"regenerateThumbnailsAndPreviews": true,
21+
"rebuildAutoCreatedRelations": false,
22+
"pruneBlacklist": false,
23+
"runExclusive": false,
24+
"pauseMillis": 0,
25+
"numThreads": 2
26+
}
27+
}
28+
29+
settings {
30+
encodeUrl: true
31+
timeout: 0
32+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
meta {
2+
name: API login
3+
type: http
4+
seq: 1
5+
}
6+
7+
post {
8+
url: {{assetsUrl}}/services/apilogin
9+
body: multipartForm
10+
auth: none
11+
}
12+
13+
body:multipart-form {
14+
username: {{assetsUsername}}
15+
password: {{assetsPassword}}
16+
clientId: {{assetsClientId}}
17+
}
18+
19+
script:post-response {
20+
var data = res.getBody();
21+
bru.setEnvVar("assetsAuthToken", data.authToken);
22+
}
23+
24+
settings {
25+
encodeUrl: true
26+
}
27+
28+
docs {
29+
WoodWing Helpcenter: [Assets Server REST API - API login](https://helpcenter.woodwing.com/hc/en-us/articles/360041851192-Assets-Server-REST-API-API-login)
30+
}

0 commit comments

Comments
 (0)