update api

This commit is contained in:
Timo 2021-07-19 08:50:02 +03:00
parent 17222b058d
commit 159b571086
5 changed files with 11 additions and 5 deletions

View File

@ -7,7 +7,7 @@ To re-generate http rune swagger
YOu need swagger-codegen installed `brew install swagger-codegen`
```
BASE=https://red-staging.iqser.cloud/
BASE=https://dev-06.iqser.cloud/
URL="$BASE"redaction-gateway-v1/v2/api-docs?group=redaction-gateway-v1
rm -Rf /tmp/swagger
mkdir -p /tmp/swagger

View File

@ -1,6 +1,6 @@
{
"OAUTH_URL": "https://dev-06.iqser.cloud/auth/realms/redaction",
"API_URL": "https://dev-06.iqser.cloud/redaction-gateway-v1",
"OAUTH_URL": "https://qa1.iqser.cloud/auth/realms/redaction",
"API_URL": "https://qa1.iqser.cloud/redaction-gateway-v1",
"OAUTH_CLIENT_ID": "redaction",
"BACKEND_APP_VERSION": "4.4.40",
"FRONTEND_APP_VERSION": "1.1",

View File

@ -13,7 +13,5 @@
export interface ImageRecategorizationRequest {
annotationId?: string;
comment?: string;
legalBasis?: string;
redacted?: boolean;
type?: string;
}

View File

@ -50,4 +50,8 @@ export interface TypeValue {
* The nonnull entry type.
*/
type?: string;
/**
* The label of this type
*/
label?: string;
}

View File

@ -42,4 +42,8 @@ export interface UpdateTypeValue {
* True if the type just for recommendations, not for redaction, default is false.
*/
recommendation?: boolean;
/**
* The label of this type
*/
label?: string;
}