diff --git a/4.1/openapi.yml b/4.1/openapi.yml index a047196d149c1d5582fb1413bdb387b8a6b2d87c..bf690c62fb2e1d2132cdd4759c950a8f9d419855 100644 --- a/4.1/openapi.yml +++ b/4.1/openapi.yml @@ -4064,7 +4064,7 @@ info: \ nicht Bestandteil dieser Dokumentation, sondern \xFCber selbstdokumentierende\ \ Indexabfragen der WebAPI erreichbar." title: SCC NETDB-API - version: 4.1.159 + version: 4.1.160 openapi: 3.0.3 paths: /cntl/column/create: diff --git a/4.1/python/__init__.py b/4.1/python/__init__.py index 153604447cdc7d9ae6a06fc0d1f14e6de615561c..bd54080456f2a33d9a0c1d9a93f3688844736033 100644 --- a/4.1/python/__init__.py +++ b/4.1/python/__init__.py @@ -36,7 +36,7 @@ class APIEndpoint(object): class APISession(object): def __init__(self, endpoint: APIEndpoint, protocol: str='https', update_check: bool='NETDB_CLIENT_DISABLE_UPDATE_CHECK' not in os.environ): - self._build_version = '4.1.159' + self._build_version = '4.1.160' self.session = requests.session() self.session.headers.update({'Authorization': 'Bearer ' + endpoint.token}) self.api_root = f'{protocol}://{endpoint.base_url}' diff --git a/4.1/version_numeric b/4.1/version_numeric index 5f680d80fa6bc7a53f88aaa8fcc61da0041063e5..597270efc1ea2a3e74b96afa199e8afb859d74e5 100644 --- a/4.1/version_numeric +++ b/4.1/version_numeric @@ -1 +1 @@ -4.1.159 \ No newline at end of file +4.1.160 \ No newline at end of file diff --git a/4.2/es/wapi.auth.js b/4.2/es/wapi.auth.js new file mode 100644 index 0000000000000000000000000000000000000000..7cacdeece543e2d87f79d4134934eba745bacc3e --- /dev/null +++ b/4.2/es/wapi.auth.js @@ -0,0 +1,25 @@ +// -- AUTOGENERATED -- + +// eslint-disable-next-line no-unused-vars +import APIUtils from '@/util/apiutil' + +import Axios from 'axios' +import NETVSConfig from '@/../netvs.config' + +/* eslint-disable camelcase */ +/* eslint-disable quote-props */ +/* eslint-disable object-curly-spacing */ +/* eslint-disable array-bracket-spacing */ +/* eslint-disable object-shorthand */ +export default { + + deleteParamsList () { + return {'old': [ 'token'], 'new': [ ]} + }, + delete (config, {token_old}) { + const params = { 'new': { }, 'old': { 'token': token_old}} + // TODO: Return ta-object instead + return Axios.post(`${NETVSConfig.NETDB_API_BASE_URL}/${NETVSConfig.NETDB_API_VERSION}/wapi/auth/delete`, params, (config || {}).netdb_axios_config) + // eslint-disable-next-line comma-dangle + }, +} diff --git a/4.2/functions.json b/4.2/functions.json index 2fe1ab135578f2f47241197164291f4f5c9b51d5..18186488366939c5e30643e5298c7020890e8554 100644 --- a/4.2/functions.json +++ b/4.2/functions.json @@ -7870,6 +7870,25 @@ "is_executable": true, "is_data_manipulating": true }, + { + "name": "delete", + "system": "wapi", + "fq_name": "wapi.auth.delete", + "parameters": { + "token": { + "old": { + "is_nullable": false, + "is_required": true + }, + "data_type": "text", + "is_deprecated": false + } + }, + "object_type": "auth", + "is_returning": false, + "is_executable": true, + "is_data_manipulating": true + }, { "name": "disconnect", "system": "nd", diff --git a/4.2/openapi.yml b/4.2/openapi.yml index 658b6c7d2d1a5e92293143bc26279a212370f4f2..16fa13a0482c4e94b5b653d2863fdf77b39ef4cb 100644 --- a/4.2/openapi.yml +++ b/4.2/openapi.yml @@ -4090,7 +4090,7 @@ info: \ nicht Bestandteil dieser Dokumentation, sondern \xFCber selbstdokumentierende\ \ Indexabfragen der WebAPI erreichbar." title: SCC NETDB-API - version: 4.2.3 + version: 4.2.0 openapi: 3.0.3 paths: /cntl/column/create: @@ -32646,6 +32646,39 @@ paths: - api_key: [] tags: - tmp + /wapi/auth/delete: + post: + requestBody: + content: + application/json: + schema: + properties: + old: + description: Alte Attribute zur einduetigen Identifizierung des + Objekts + properties: + token: + description: "Privater (geheimer) Schl\xFCssel des Access-Tokens." + nullable: false + type: string + required: + - token + type: object + type: object + required: true + responses: + 200: + description: Request erfolgreich + 400: + description: Eingabefehler + 401: + description: Unautorisiert + 500: + description: Interner Serverfehler + security: + - api_key: [] + tags: + - wapi /wapi/data_type/create: post: requestBody: diff --git a/4.2/python/__init__.py b/4.2/python/__init__.py index f9846a5bd533cebc9428545687ac500fc8b40fa6..8be1e0b66fcf028c13ee444e4ba85911c8141a27 100644 --- a/4.2/python/__init__.py +++ b/4.2/python/__init__.py @@ -36,7 +36,7 @@ class APIEndpoint(object): class APISession(object): def __init__(self, endpoint: APIEndpoint, protocol: str='https', update_check: bool='NETDB_CLIENT_DISABLE_UPDATE_CHECK' not in os.environ): - self._build_version = '4.2.3' + self._build_version = '4.2.0' self.session = requests.session() self.session.headers.update({'Authorization': 'Bearer ' + endpoint.token}) self.api_root = f'{protocol}://{endpoint.base_url}' diff --git a/4.2/version_numeric b/4.2/version_numeric index ec87108d821a5ba83a1650f5418ed577397d7cdc..ef8d7569d6773ae4fe3b63017ee9d429f4b46c44 100644 --- a/4.2/version_numeric +++ b/4.2/version_numeric @@ -1 +1 @@ -4.2.3 \ No newline at end of file +4.2.0 \ No newline at end of file diff --git a/latest_version b/latest_version index ec87108d821a5ba83a1650f5418ed577397d7cdc..ef8d7569d6773ae4fe3b63017ee9d429f4b46c44 100644 --- a/latest_version +++ b/latest_version @@ -1 +1 @@ -4.2.3 \ No newline at end of file +4.2.0 \ No newline at end of file