Retrieve file in use details for given filename and type
get
https://cloud-native-SBC-IP/config/v1/file-in-use/{Type}/{FileName}
Retrieve file in use details for given filename and type(ca-cert,rbt,lrt). Response with in-use as false indicates that given filename and type is not in use. A HTTP '404' status code indicates that given type does not exist on server
Request
Path Parameters
-
FileName: string
Name of file to be retrieved
-
Type:
Type of file to be retrieved
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
return file in use
Root Schema : FileInUse
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
details: array
details
-
in-use: boolean
Nested Schema : details
Type:
Show Source
array
-
Array of:
object FileUseDetails
details of file in use
Nested Schema : FileUseDetails
Type:
object
details of file in use
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
element: string
-
store: string
Allowed Values:
[ "active", "staging" ]
-
value: string
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]