F5 Distributed Cloud Services API for ves.io.schema.app_type
Download OpenAPI specification:Download
App Type object defines a application profile type from an advanced monitoring/security point of view. An App type is a set of (micro) services that interact with one another and function as an application. Services can be made members of a particular AppType set by adding label ves.io/app_type=app_type.metadata.name to services. App type object is the profile for one such application label. One can define various AI/ML features that can be enabled for a given application in this object. All services in a given namespace that are labeled with same ves.io/app_type label are assumed to be a single application. In a different namespace as two different instances of same application. app_type object is recommended per tenant and present only in shared namespace. This way AI/ML modeled developed for a given application can be shared across namespaces or deployments. app_setting object can be used to enable a app_type monitoring profile in a given namespace.
Create App Type
Create App type will create the configuration in namespace metadata.namespace
path Parameters
metadata.namespace required | string namespace x-example: "staging" This defines the workspace within which each the configuration object is to be created. Must be a DNS_LABEL format. For a namespace object itself, namespace value will be "" |
Request Body schema: application/jsonrequired
object (ObjectCreateMetaType) ObjectCreateMetaType is metadata that can be specified in Create request of an object. | |
object (Create App type) Create App type will create the configuration in namespace metadata.namespace |
Responses
Request samples
- Payload
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}, - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
}
Replace App Type
Update the configuration by replacing the existing spec with the provided one. For read-then-write operations a resourceVersion mismatch will occur if the object was modified between the read and write.
path Parameters
metadata.namespace required | string namespace x-example: "staging" This defines the workspace within which each the configuration object is to be created. Must be a DNS_LABEL format. For a namespace object itself, namespace value will be "" |
metadata.name required | string name x-example: "acmecorp-web" The configuration object to be replaced will be looked up by name |
Request Body schema: application/jsonrequired
object (ObjectReplaceMetaType) ObjectReplaceMetaType is metadata that can be specified in Replace request of an object. | |
object (Replace App type) Update the configuration by replacing the existing spec with the provided one. For read-then-write operations a resourceVersion mismatch will occur if the object was modified between the read and write. |
Responses
Request samples
- Payload
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{ }
List App Type
List the set of app_type in a namespace
path Parameters
namespace required | string namespace x-example: "ns1" Namespace to scope the listing of app_type |
query Parameters
label_filter | string x-example: "env in (staging, testing), tier in (web, db)" A LabelSelectorType expression that every item in list response will satisfy |
report_fields | Array of strings x-example: "" Extra fields to return along with summary fields |
report_status_fields | Array of strings x-example: "" Extra status fields to return along with summary fields |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "errors": [
- {
- "code": "EOK",
- "error_obj": {
- "type_url": "string",
- "value": "string"
}, - "message": "string"
}
], - "items": [
- {
- "annotations": { },
- "description": "string",
- "disabled": true,
- "get_spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}, - "labels": { },
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "name": "string",
- "namespace": "string",
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "status_set": [
- {
- "conditions": [
- {
- "hostname": "string",
- "last_update_time": "2019-08-24T14:15:22Z",
- "reason": "string",
- "service_name": "string",
- "status": "string",
- "type": "string"
}
], - "metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "publish": "STATUS_DO_NOT_PUBLISH",
- "status_id": "string",
- "uid": "string",
- "vtrp_id": "string",
- "vtrp_stale": true
}, - "object_refs": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
]
}
], - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
]
}
Get Learnt Schema per API endpoint
Get Learnt Schema per API endpoint for a given auto discovered API endpoint for Service
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
Request Body schema: application/jsonrequired
api_endpoint_info_request | Array of strings (Api Endpoint Info Request) Items Enum: "API_ENDPOINT_INFO_NONE" "API_ENDPOINT_INFO_PDF_SPARKLINES" List of additional things that needs to be sent as part of the request Validation Rules: ves.io.schema.rules.repeated.unique: true |
app_type_name | string (App Type) App Type for current request Example: |
collapsed_url | string (Discovered API URL) API endpoint for which PDFs are requested. Example: |
method | string (Method of current API URL) method of API endpoint for which PDFs are requested. Example: |
namespace | string (Namespace) Namespace of the App type for current request Example: |
Responses
Request samples
- Payload
{- "api_endpoint_info_request": [
- "API_ENDPOINT_INFO_NONE"
], - "app_type_name": "string",
- "collapsed_url": "string",
- "method": "string",
- "namespace": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "api_specs": { },
- "discovered_schema": {
- "last_updated_time": "2019-08-24T14:15:22Z",
- "request_schema": {
- "body_per_content_type": { },
- "cookies": {
- "examples": [
- "string"
], - "schema": "string"
}, - "headers": {
- "examples": [
- "string"
], - "schema": "string"
}, - "query_params": {
- "examples": [
- "string"
], - "schema": "string"
}
}, - "response_schema_per_rsp_code": { }
}, - "inventory_openapi_spec": "string",
- "pdf_info": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "error_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "error_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_no_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_no_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_with_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_with_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_throughput": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_throughput_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}
}, - "sensitive_data": [
- {
- "compliances": [
- "string"
], - "examples": [
- "string"
], - "field": "string",
- "rule_type": "RULE_TYPE_BUILT_IN",
- "section": "string",
- "sensitive_data_type": "string",
- "type": "SENSITIVE_DATA_TYPE_CCN"
}
]
}
Get PDF
Get PDF of all metrics for a given auto discovered API endpoint for App type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
query Parameters
collapsed_url | string x-example: "value" API endpoint for which PDFs are requested. |
method | string x-example: "value" method of API endpoint for which PDFs are requested. |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "pdf_info": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "error_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "error_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_no_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_no_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_with_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_with_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_throughput": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_throughput_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}
}
}
Get API endpoints
Get all auto discovered API endpoints for App type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
query Parameters
api_endpoint_info_request | Array of strings Items Enum: "API_ENDPOINT_INFO_NONE" "API_ENDPOINT_INFO_PDF_SPARKLINES" List of additional things that needs to be sent as part of the request API ENDPOINT INFO NONE option is used to disable any additional info request per api endpoint response API ENDPOINT INFO PDF SPARKLINES option is used to enable pdf sparkline info along with the api endpoint response |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "apiep_list": [
- {
- "access_discovery_time": "2019-08-24T14:15:22Z",
- "api_groups": [
- "string"
], - "api_type": "API_TYPE_UNKNOWN",
- "attributes": [
- "string"
], - "authentication_state": "AUTH_STATE_UNKNOWN",
- "authentication_types": [
- {
- "auth_type": "string",
- "location": "AUTH_LOCATION_HEADER",
- "type": "AUTH_TYPE_BASIC"
}
], - "avg_latency": 0.1,
- "base_path": "string",
- "category": [
- "APIEP_CATEGORY_DISCOVERED"
], - "collapsed_url": "string",
- "compliances": [
- "string"
], - "domains": [
- "string"
], - "dyn_examples": [
- {
- "component_examples": [
- "string"
], - "component_identifier": "string"
}
], - "engines": [
- "string"
], - "has_learnt_schema": true,
- "max_latency": 0.1,
- "method": "string",
- "pdf_info": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "error_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "error_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_no_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_no_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_with_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_with_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_throughput": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_throughput_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}
}, - "pii_level": "APIEP_PII_NOT_DETECTED",
- "req_rate": 0.1,
- "request_percentage": 0.1,
- "requests_count": 0,
- "risk_score": {
- "score": 0.1,
- "severity": "APIEP_SEC_RISK_NONE"
}, - "schema_status": "string",
- "sec_events_count": 0,
- "security_risk": "APIEP_SEC_RISK_NONE",
- "sensitive_data": [
- "SENSITIVE_DATA_TYPE_CCN"
], - "sensitive_data_location": [
- "string"
], - "sensitive_data_types": [
- "string"
]
}
]
}
Get Swagger Spec for App Type
Get the corresponding Swagger spec for the given app type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "content_type": "string",
- "data": "string",
- "extensions": [
- {
- "type_url": "string",
- "value": "string"
}
]
}
Remove Override
remove override for dynamic component for API endpoints discovered for this App type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
Request Body schema: application/jsonrequired
app_type_name | string (App Type) App Type for current request Example: |
namespace | string (Namespace) Namespace of the App type for current request Example: |
Responses
Request samples
- Payload
{- "app_type_name": "string",
- "namespace": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "status": true,
- "status_msg": "string"
}
Add Override
Add override for dynamic component for API endpoints discovered for this App type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
Request Body schema: application/jsonrequired
app_type_name | string (App Type) App Type for current request Example: |
namespace | string (Namespace) Namespace of the App type for current request Example: |
object (Override automatic collapse) Rule to override a given automatic dynamic identifier used to expand or collapse API URL |
Responses
Request samples
- Payload
{- "app_type_name": "string",
- "namespace": "string",
- "override_info": {
- "component_identifier": "string",
- "set_dynamic": true
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "status": true,
- "status_msg": "string"
}
Get Override
Get all override for API endpoints configured for this App type
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "override_list": [
- {
- "component_identifier": "string",
- "set_dynamic": true
}
]
}
Get Service API Endpoint PDF
Get PDF of all metrics for a given auto discovered API endpoint for Service
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
service_name required | string Service x-example: "N:public or S:productpage" Identifies the destination service |
Request Body schema: application/jsonrequired
app_type_name | string (App Type) App Type for current request Example: |
collapsed_url | string (Discovered API URL) API endpoint for which PDFs are requested. Example: |
method | string (Method of current API URL) method of API endpoint for which PDFs are requested. Example: |
namespace | string (Namespace) Namespace of the App type for current request Example: |
service_name | string (Service) Identifies the destination service Example: |
Responses
Request samples
- Payload
{- "app_type_name": "string",
- "collapsed_url": "string",
- "method": "string",
- "namespace": "string",
- "service_name": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "pdf_info": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "error_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "error_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_no_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_no_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_with_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_with_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_throughput": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_throughput_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}
}
}
Get Service API Endpoints
Get all autodiscovered API endpoints for Service
path Parameters
namespace required | string Namespace x-example: "shared" Namespace of the App type for current request |
app_type_name required | string App Type x-example: "blogging-app" App Type for current request |
service_name required | string Service x-example: "N:public or S:productpage" Identifies the destination service |
Request Body schema: application/jsonrequired
api_endpoint_info_request | Array of strings (Api Endpoint Info Request) Items Enum: "API_ENDPOINT_INFO_NONE" "API_ENDPOINT_INFO_PDF_SPARKLINES" List of additional things that needs to be sent as part of the request Validation Rules: ves.io.schema.rules.repeated.unique: true |
app_type_name | string (App Type) App Type for current request Example: |
namespace | string (Namespace) Namespace of the App type for current request Example: |
service_name | string (Service) Identifies the destination service Example: |
Responses
Request samples
- Payload
{- "api_endpoint_info_request": [
- "API_ENDPOINT_INFO_NONE"
], - "app_type_name": "string",
- "namespace": "string",
- "service_name": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "apiep_list": [
- {
- "access_discovery_time": "2019-08-24T14:15:22Z",
- "api_groups": [
- "string"
], - "api_type": "API_TYPE_UNKNOWN",
- "attributes": [
- "string"
], - "authentication_state": "AUTH_STATE_UNKNOWN",
- "authentication_types": [
- {
- "auth_type": "string",
- "location": "AUTH_LOCATION_HEADER",
- "type": "AUTH_TYPE_BASIC"
}
], - "avg_latency": 0.1,
- "base_path": "string",
- "category": [
- "APIEP_CATEGORY_DISCOVERED"
], - "collapsed_url": "string",
- "compliances": [
- "string"
], - "domains": [
- "string"
], - "dyn_examples": [
- {
- "component_examples": [
- "string"
], - "component_identifier": "string"
}
], - "engines": [
- "string"
], - "has_learnt_schema": true,
- "max_latency": 0.1,
- "method": "string",
- "pdf_info": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "error_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "error_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_no_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_no_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "latency_with_data": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "latency_with_data_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_rate": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_rate_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "request_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "request_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_size": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_size_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}, - "response_throughput": [
- {
- "probability": 0.1,
- "x": 0.1
}
], - "response_throughput_stat": {
- "pdf_95": 0.1,
- "pdf_mean": 0.1
}
}, - "pii_level": "APIEP_PII_NOT_DETECTED",
- "req_rate": 0.1,
- "request_percentage": 0.1,
- "requests_count": 0,
- "risk_score": {
- "score": 0.1,
- "severity": "APIEP_SEC_RISK_NONE"
}, - "schema_status": "string",
- "sec_events_count": 0,
- "security_risk": "APIEP_SEC_RISK_NONE",
- "sensitive_data": [
- "SENSITIVE_DATA_TYPE_CCN"
], - "sensitive_data_location": [
- "string"
], - "sensitive_data_types": [
- "string"
]
}
]
}
Get App Type
Get App type will read the configuration from namespace metadata.namespace
path Parameters
namespace required | string namespace x-example: "ns1" The namespace in which the configuration object is present |
name required | string name x-example: "name" The name of the configuration object to be fetched |
query Parameters
response_format | string Default: "GET_RSP_FORMAT_DEFAULT" Enum: "GET_RSP_FORMAT_DEFAULT" "GET_RSP_FORMAT_FOR_CREATE" "GET_RSP_FORMAT_FOR_REPLACE" "GET_RSP_FORMAT_STATUS" "GET_RSP_FORMAT_READ" "GET_RSP_FORMAT_REFERRING_OBJECTS" "GET_RSP_FORMAT_BROKEN_REFERENCES" The format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object - in CreateRequest form to create a new similar object - to ReplaceRequest form to replace changeable values Default format of returned resource Response should be in CreateRequest format Response should be in ReplaceRequest format Response should be in StatusObject(s) format Response should be in format of GetSpecType Response should have other objects referring to this object Response should have deleted and disabled objects referrred by this object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "create_form": {
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}
}, - "deleted_referred_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "disabled_referred_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "referring_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "replace_form": {
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}
}, - "spec": {
- "business_logic_markup_setting": {
- "disable": { },
- "discovered_api_settings": {
- "purge_duration_for_inactive_discovered_apis": 0
}, - "enable": { }
}, - "features": [
- {
- "type": "BUSINESS_LOGIC_MARKUP"
}
]
}, - "status": [
- {
- "conditions": [
- {
- "hostname": "string",
- "last_update_time": "2019-08-24T14:15:22Z",
- "reason": "string",
- "service_name": "string",
- "status": "string",
- "type": "string"
}
], - "metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "publish": "STATUS_DO_NOT_PUBLISH",
- "status_id": "string",
- "uid": "string",
- "vtrp_id": "string",
- "vtrp_stale": true
}, - "object_refs": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
]
}
], - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
}
Delete App Type
Delete the specified app_type
path Parameters
namespace required | string namespace x-example: "ns1" Namespace in which the configuration object is present |
name required | string name x-example: "name" Name of the configuration object |
Request Body schema: application/jsonrequired
fail_if_referred | boolean <boolean> (fail_if_referred) Fail the delete operation if this object is being referred by other objects |
name | string (name) Name of the configuration object Example: |
namespace | string (namespace) Namespace in which the configuration object is present Example: |
Responses
Request samples
- Payload
{- "fail_if_referred": true,
- "name": "string",
- "namespace": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
null