update api
This commit is contained in:
parent
17222b058d
commit
159b571086
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -13,7 +13,5 @@
|
||||
export interface ImageRecategorizationRequest {
|
||||
annotationId?: string;
|
||||
comment?: string;
|
||||
legalBasis?: string;
|
||||
redacted?: boolean;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
@ -50,4 +50,8 @@ export interface TypeValue {
|
||||
* The nonnull entry type.
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* The label of this type
|
||||
*/
|
||||
label?: string;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user