@agravity/public 6.0.4 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/publicAssetManagement.pub.agravity.ts +1 -9
- package/api/publicAssetOperations.pub.agravity.ts +94 -1
- package/api/publicAssetPublishing.pub.agravity.ts +1 -1
- package/api/publicAssetVersioning.pub.agravity.ts +1 -1
- package/api/publicAuthenticationManagement.pub.agravity.ts +1 -1
- package/api/publicCollectionManagement.pub.agravity.ts +1 -1
- package/api/publicCollectionSecureUpload.pub.agravity.ts +1 -1
- package/api/publicCollectionTypeManagement.pub.agravity.ts +1 -1
- package/api/publicConfigurationManagement.pub.agravity.ts +1 -1
- package/api/publicDownloadFormatManagement.pub.agravity.ts +75 -1
- package/api/publicGeneralManagement.pub.agravity.ts +1 -1
- package/api/publicHelperTools.pub.agravity.ts +1 -1
- package/api/publicPublishing.pub.agravity.ts +1 -1
- package/api/publicSavedSearch.pub.agravity.ts +1 -1
- package/api/publicSearchManagement.pub.agravity.ts +1 -1
- package/api/publicSharingManagement.pub.agravity.ts +166 -1
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +1 -1
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +1 -1
- package/api/publicTranslationManagement.pub.agravity.ts +1 -1
- package/api/publicWebAppData.pub.agravity.ts +1 -1
- package/api/publicWorkspaceManagement.pub.agravity.ts +1 -1
- package/model/agravityErrorResponse.pub.agravity.ts +1 -1
- package/model/agravityVersion.pub.agravity.ts +1 -1
- package/model/allWebAppData.pub.agravity.ts +1 -1
- package/model/artificialIntelligenceGroup.pub.agravity.ts +1 -1
- package/model/asset.pub.agravity.ts +1 -1
- package/model/assetAvailability.pub.agravity.ts +1 -1
- package/model/assetBlob.pub.agravity.ts +2 -2
- package/model/assetIdFormat.pub.agravity.ts +1 -1
- package/model/assetPageResult.pub.agravity.ts +1 -1
- package/model/azSearchOptions.pub.agravity.ts +1 -1
- package/model/badRequestResult.pub.agravity.ts +1 -1
- package/model/collTypeItem.pub.agravity.ts +1 -1
- package/model/collection.pub.agravity.ts +1 -1
- package/model/collectionType.pub.agravity.ts +1 -1
- package/model/collectionUDL.pub.agravity.ts +1 -1
- package/model/createSftpUserResult.pub.agravity.ts +1 -1
- package/model/dataResult.pub.agravity.ts +1 -1
- package/model/distZipResponse.pub.agravity.ts +1 -1
- package/model/downloadFormat.pub.agravity.ts +1 -1
- package/model/dynamicImageOperation.pub.agravity.ts +1 -1
- package/model/entityId.pub.agravity.ts +1 -1
- package/model/entityIdName.pub.agravity.ts +1 -1
- package/model/frontendAppConfig.pub.agravity.ts +1 -1
- package/model/groupAllAppData.pub.agravity.ts +1 -1
- package/model/metadata.pub.agravity.ts +1 -1
- package/model/models.ts +2 -0
- package/model/okResult.pub.agravity.ts +1 -1
- package/model/permissionEntity.pub.agravity.ts +1 -1
- package/model/publishEntity.pub.agravity.ts +1 -1
- package/model/publishedAsset.pub.agravity.ts +3 -1
- package/model/quickShareFull.pub.agravity.ts +1 -1
- package/model/sasToken.pub.agravity.ts +1 -1
- package/model/savedSearch.pub.agravity.ts +1 -1
- package/model/searchFacet.pub.agravity.ts +1 -1
- package/model/searchFacetEntity.pub.agravity.ts +1 -1
- package/model/searchResult.pub.agravity.ts +1 -1
- package/model/searchableItem.pub.agravity.ts +1 -1
- package/model/secureUploadEntity.pub.agravity.ts +1 -1
- package/model/sharedAllowedFormat.pub.agravity.ts +16 -0
- package/model/sharedAsset.pub.agravity.ts +1 -1
- package/model/sharedCollectionFull.pub.agravity.ts +12 -2
- package/model/sharedCollectionZipRequest.pub.agravity.ts +32 -0
- package/model/signalRConnectionInfo.pub.agravity.ts +1 -1
- package/model/staticDefinedList.pub.agravity.ts +1 -1
- package/model/versionEntity.pub.agravity.ts +1 -1
- package/model/versionedAsset.pub.agravity.ts +1 -1
- package/model/whereParam.pub.agravity.ts +1 -1
- package/model/workspace.pub.agravity.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -66,8 +66,10 @@ model/searchFacetEntity.pub.agravity.ts
|
|
|
66
66
|
model/searchResult.pub.agravity.ts
|
|
67
67
|
model/searchableItem.pub.agravity.ts
|
|
68
68
|
model/secureUploadEntity.pub.agravity.ts
|
|
69
|
+
model/sharedAllowedFormat.pub.agravity.ts
|
|
69
70
|
model/sharedAsset.pub.agravity.ts
|
|
70
71
|
model/sharedCollectionFull.pub.agravity.ts
|
|
72
|
+
model/sharedCollectionZipRequest.pub.agravity.ts
|
|
71
73
|
model/signalRConnectionInfo.pub.agravity.ts
|
|
72
74
|
model/staticDefinedList.pub.agravity.ts
|
|
73
75
|
model/versionEntity.pub.agravity.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @agravity/public@6.0
|
|
1
|
+
## @agravity/public@6.1.0
|
|
2
2
|
|
|
3
3
|
### Building
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
19
19
|
_published:_
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
npm install @agravity/public@6.0
|
|
22
|
+
npm install @agravity/public@6.1.0 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -446,7 +446,6 @@ export class PublicAssetManagementService {
|
|
|
446
446
|
* @param id The ID of the asset.
|
|
447
447
|
* @param fields Which fields are need to be filled out with comma separated. If one is set all non mandatory fields are left out. No validation if field exist.
|
|
448
448
|
* @param expose This indicates if the given blobs should have URLs where these can be requested. It will expose placeholder blobs if no \'thumbnail\' is found.
|
|
449
|
-
* @param techdata This parameter will include the techdata property inside orig_blob.
|
|
450
449
|
* @param translations When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header)
|
|
451
450
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
452
451
|
* @param reportProgress flag to report request and response progress.
|
|
@@ -455,7 +454,6 @@ export class PublicAssetManagementService {
|
|
|
455
454
|
id: string,
|
|
456
455
|
fields?: string,
|
|
457
456
|
expose?: boolean,
|
|
458
|
-
techdata?: boolean,
|
|
459
457
|
translations?: boolean,
|
|
460
458
|
observe?: 'body',
|
|
461
459
|
reportProgress?: boolean,
|
|
@@ -465,7 +463,6 @@ export class PublicAssetManagementService {
|
|
|
465
463
|
id: string,
|
|
466
464
|
fields?: string,
|
|
467
465
|
expose?: boolean,
|
|
468
|
-
techdata?: boolean,
|
|
469
466
|
translations?: boolean,
|
|
470
467
|
observe?: 'response',
|
|
471
468
|
reportProgress?: boolean,
|
|
@@ -475,7 +472,6 @@ export class PublicAssetManagementService {
|
|
|
475
472
|
id: string,
|
|
476
473
|
fields?: string,
|
|
477
474
|
expose?: boolean,
|
|
478
|
-
techdata?: boolean,
|
|
479
475
|
translations?: boolean,
|
|
480
476
|
observe?: 'events',
|
|
481
477
|
reportProgress?: boolean,
|
|
@@ -485,7 +481,6 @@ export class PublicAssetManagementService {
|
|
|
485
481
|
id: string,
|
|
486
482
|
fields?: string,
|
|
487
483
|
expose?: boolean,
|
|
488
|
-
techdata?: boolean,
|
|
489
484
|
translations?: boolean,
|
|
490
485
|
observe: any = 'body',
|
|
491
486
|
reportProgress: boolean = false,
|
|
@@ -502,9 +497,6 @@ export class PublicAssetManagementService {
|
|
|
502
497
|
if (expose !== undefined && expose !== null) {
|
|
503
498
|
queryParameters = this.addToHttpParams(queryParameters, <any>expose, 'expose');
|
|
504
499
|
}
|
|
505
|
-
if (techdata !== undefined && techdata !== null) {
|
|
506
|
-
queryParameters = this.addToHttpParams(queryParameters, <any>techdata, 'techdata');
|
|
507
|
-
}
|
|
508
500
|
if (translations !== undefined && translations !== null) {
|
|
509
501
|
queryParameters = this.addToHttpParams(queryParameters, <any>translations, 'translations');
|
|
510
502
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -509,6 +509,99 @@ export class PublicAssetOperationsService {
|
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
+
/**
|
|
513
|
+
* This endpoint checks, if an asset exists, is an image, has original blob, is status active, is part of the shared collection and returns the requested asset blob.
|
|
514
|
+
* @param shareId This share ID is like an API key. Check on validy (format, expire, collection still availabe). Otherwise StatusCode 403 (Forbidden) is returned.
|
|
515
|
+
* @param id The ID of the asset.
|
|
516
|
+
* @param format Which download format the blob is requested.
|
|
517
|
+
* @param ayPassword If shared collection has a password, this header is mandatory. Otherwise StatusCode 403 (Forbidden) is returned.
|
|
518
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
519
|
+
* @param reportProgress flag to report request and response progress.
|
|
520
|
+
*/
|
|
521
|
+
public httpGetSharedAssetBlob(
|
|
522
|
+
shareId: string,
|
|
523
|
+
id: string,
|
|
524
|
+
format: string,
|
|
525
|
+
ayPassword?: string,
|
|
526
|
+
observe?: 'body',
|
|
527
|
+
reportProgress?: boolean,
|
|
528
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
529
|
+
): Observable<AssetBlob>;
|
|
530
|
+
public httpGetSharedAssetBlob(
|
|
531
|
+
shareId: string,
|
|
532
|
+
id: string,
|
|
533
|
+
format: string,
|
|
534
|
+
ayPassword?: string,
|
|
535
|
+
observe?: 'response',
|
|
536
|
+
reportProgress?: boolean,
|
|
537
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
538
|
+
): Observable<HttpResponse<AssetBlob>>;
|
|
539
|
+
public httpGetSharedAssetBlob(
|
|
540
|
+
shareId: string,
|
|
541
|
+
id: string,
|
|
542
|
+
format: string,
|
|
543
|
+
ayPassword?: string,
|
|
544
|
+
observe?: 'events',
|
|
545
|
+
reportProgress?: boolean,
|
|
546
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
547
|
+
): Observable<HttpEvent<AssetBlob>>;
|
|
548
|
+
public httpGetSharedAssetBlob(
|
|
549
|
+
shareId: string,
|
|
550
|
+
id: string,
|
|
551
|
+
format: string,
|
|
552
|
+
ayPassword?: string,
|
|
553
|
+
observe: any = 'body',
|
|
554
|
+
reportProgress: boolean = false,
|
|
555
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
556
|
+
): Observable<any> {
|
|
557
|
+
if (shareId === null || shareId === undefined) {
|
|
558
|
+
throw new Error('Required parameter shareId was null or undefined when calling httpGetSharedAssetBlob.');
|
|
559
|
+
}
|
|
560
|
+
if (id === null || id === undefined) {
|
|
561
|
+
throw new Error('Required parameter id was null or undefined when calling httpGetSharedAssetBlob.');
|
|
562
|
+
}
|
|
563
|
+
if (format === null || format === undefined) {
|
|
564
|
+
throw new Error('Required parameter format was null or undefined when calling httpGetSharedAssetBlob.');
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
let queryParameters = new HttpParams({ encoder: this.encoder });
|
|
568
|
+
if (shareId !== undefined && shareId !== null) {
|
|
569
|
+
queryParameters = this.addToHttpParams(queryParameters, <any>shareId, 'share-id');
|
|
570
|
+
}
|
|
571
|
+
if (format !== undefined && format !== null) {
|
|
572
|
+
queryParameters = this.addToHttpParams(queryParameters, <any>format, 'format');
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
let headers = this.defaultHeaders;
|
|
576
|
+
if (ayPassword !== undefined && ayPassword !== null) {
|
|
577
|
+
headers = headers.set('ay-password', String(ayPassword));
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
581
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
582
|
+
// to determine the Accept header
|
|
583
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
584
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
585
|
+
}
|
|
586
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
587
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
591
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
592
|
+
responseType_ = 'text';
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
return this.httpClient.get<AssetBlob>(`${this.configuration.basePath}/assets/${encodeURIComponent(String(id))}/blob`, {
|
|
596
|
+
params: queryParameters,
|
|
597
|
+
responseType: <any>responseType_,
|
|
598
|
+
withCredentials: this.configuration.withCredentials,
|
|
599
|
+
headers: headers,
|
|
600
|
+
observe: observe,
|
|
601
|
+
reportProgress: reportProgress
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
|
|
512
605
|
/**
|
|
513
606
|
* This endpoint lets you use the entire api of Imagemagick to edit the image.
|
|
514
607
|
* @param id The ID of the asset.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -122,4 +122,78 @@ export class PublicDownloadFormatManagementService {
|
|
|
122
122
|
reportProgress: reportProgress
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* This endpoint lists all download formats for a specific shared collections in database.Needs a valid shared collection ID to be authenticated.
|
|
128
|
+
* @param shareId This share ID is like an API key. Check on validy (format, expire, collection still availabe). Otherwise StatusCode 403 (Forbidden) is returned.
|
|
129
|
+
* @param ayPassword If shared collection has a password, this header is mandatory. Otherwise StatusCode 403 (Forbidden) is returned.
|
|
130
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
131
|
+
* @param reportProgress flag to report request and response progress.
|
|
132
|
+
*/
|
|
133
|
+
public httpDownloadFormatsGetAllFromShared(
|
|
134
|
+
shareId: string,
|
|
135
|
+
ayPassword?: string,
|
|
136
|
+
observe?: 'body',
|
|
137
|
+
reportProgress?: boolean,
|
|
138
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
139
|
+
): Observable<Array<DownloadFormat>>;
|
|
140
|
+
public httpDownloadFormatsGetAllFromShared(
|
|
141
|
+
shareId: string,
|
|
142
|
+
ayPassword?: string,
|
|
143
|
+
observe?: 'response',
|
|
144
|
+
reportProgress?: boolean,
|
|
145
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
146
|
+
): Observable<HttpResponse<Array<DownloadFormat>>>;
|
|
147
|
+
public httpDownloadFormatsGetAllFromShared(
|
|
148
|
+
shareId: string,
|
|
149
|
+
ayPassword?: string,
|
|
150
|
+
observe?: 'events',
|
|
151
|
+
reportProgress?: boolean,
|
|
152
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
153
|
+
): Observable<HttpEvent<Array<DownloadFormat>>>;
|
|
154
|
+
public httpDownloadFormatsGetAllFromShared(
|
|
155
|
+
shareId: string,
|
|
156
|
+
ayPassword?: string,
|
|
157
|
+
observe: any = 'body',
|
|
158
|
+
reportProgress: boolean = false,
|
|
159
|
+
options?: { httpHeaderAccept?: 'application/json' }
|
|
160
|
+
): Observable<any> {
|
|
161
|
+
if (shareId === null || shareId === undefined) {
|
|
162
|
+
throw new Error('Required parameter shareId was null or undefined when calling httpDownloadFormatsGetAllFromShared.');
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
let queryParameters = new HttpParams({ encoder: this.encoder });
|
|
166
|
+
if (shareId !== undefined && shareId !== null) {
|
|
167
|
+
queryParameters = this.addToHttpParams(queryParameters, <any>shareId, 'share-id');
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
let headers = this.defaultHeaders;
|
|
171
|
+
if (ayPassword !== undefined && ayPassword !== null) {
|
|
172
|
+
headers = headers.set('ay-password', String(ayPassword));
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
176
|
+
if (httpHeaderAcceptSelected === undefined) {
|
|
177
|
+
// to determine the Accept header
|
|
178
|
+
const httpHeaderAccepts: string[] = ['application/json'];
|
|
179
|
+
httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
180
|
+
}
|
|
181
|
+
if (httpHeaderAcceptSelected !== undefined) {
|
|
182
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
let responseType_: 'text' | 'json' = 'json';
|
|
186
|
+
if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
|
|
187
|
+
responseType_ = 'text';
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
return this.httpClient.get<Array<DownloadFormat>>(`${this.configuration.basePath}/downloadformats-shared`, {
|
|
191
|
+
params: queryParameters,
|
|
192
|
+
responseType: <any>responseType_,
|
|
193
|
+
withCredentials: this.configuration.withCredentials,
|
|
194
|
+
headers: headers,
|
|
195
|
+
observe: observe,
|
|
196
|
+
reportProgress: reportProgress
|
|
197
|
+
});
|
|
198
|
+
}
|
|
125
199
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Public Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the public API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2023. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 6.0
|
|
5
|
+
* The version of the OpenAPI document: 6.1.0
|
|
6
6
|
* Contact: office@agravity.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|