"description":"This method retrieves information about a list of bandwidthAllocation resources. In queries, either \"app_instance_id\" or \"app_name\" or \"session_Id\" or none of them shall be present.",
"tags":[
""
],
"summary":"Retrieve information about a list of bandwidthAllocation resources",
"description":"Retrieves information about a list of bandwidthAllocation resources. Typically used in 'Get configured bandwidth allocation from Bandwidth Management Service' procedure as described in clause 6.2.5.",
"description":"Upon success, a response body containing an array of the bandwidthAllocations is returned.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"bwInfo":{
"type":"array",
"items":{
"$ref":"#/components/schemas/BwInfo"
}
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
}
}
},
"post":{
"description":"This method is used to create a bandwidthAllocation resource.",
"requestBody":{
"$ref":"#/components/requestBodies/BwInfo"
},
"operationId":"BandwithAllocations_POST",
"tags":[
"BandwithAllocations"
""
],
"summary":"Create a bandwidthAllocation resource",
"description":"Used to create a bandwidthAllocation resource. Typically used in 'Register to Bandwidth Management Service' procedure as described in clause 6.2.1.",
"operationId":"bandwidthAllocationPOST",
"parameters":[],
"requestBody":{
"description":"Entity body in the request contains BwInfo to be created.",
"description":"This method retrieves information about a specific bandwidthAllocation resource.",
"operationId":"BandwithAllocation_GET",
"tags":[
"BandwithAllocation"
""
],
"summary":"Retrieve information about a specific bandwidthAllocation",
"description":"Retrieves information about a bandwidthAllocation resource. Typically used in 'Get configured bandwidth allocation from Bandwidth Management Service' procedure as described in clause 6.2.5.",
"description":"Used to indicate nonspecific success. The response body contains a representation of the resource.",
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"bwInfo"
],
"properties":{
"bwInfo":{
"$ref":"#/components/schemas/BwInfo"
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
}
}
},
"put":{
"description":"This method updates the information about a specific bandwidthAllocation resource.",
"tags":[
""
],
"summary":"Update the information about a specific bandwidthAllocation",
"description":"Updates the information about a bandwidthAllocation resource. As specified in ETSI GS MEC 009 [6], the PUT HTTP method has 'replace' semantics.",
"operationId":"bandwidthAllocationPUT",
"requestBody":{
"$ref":"#/components/requestBodies/BwInfo"
"description":"BwInfo with updated information is included as entity body of the request.",
"description":"Used to indicate nonspecific success. The response body contains a representation of the resource.",
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"bwInfo"
],
"properties":{
"bwInfo":{
"$ref":"#/components/schemas/BwInfo"
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
},
"412":{
"$ref":"#/components/responses/Error.412"
"$ref":"#/components/responses/412"
}
}
},
"patch":{
"description":"This method updates the information about a specific bandwidthAllocation resource.",
"tags":[
""
],
"summary":"Modify the information about a specific existing bandwidthAllocation by sending updates on the data structure",
"description":"Updates the information about a bandwidthAllocation resource. As specified in ETSI GS MEC 009 [6], the PATCH HTTP method updates a resource on top of the existing resource state by just including the changes ('deltas') in the request body.",
"operationId":"bandwidthAllocationPATCH",
"requestBody":{
"$ref":"#/components/requestBodies/BwInfoDeltas"
"description":"Description of the changes to instruct the server how to modify the resource representation.",
"description":"Used to indicate nonspecific success. The response body contains a representation of the resource.",
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"bwInfo"
],
"properties":{
"bwInfo":{
"$ref":"#/components/schemas/BwInfo"
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
},
"412":{
"$ref":"#/components/responses/Error.412"
"$ref":"#/components/responses/412"
}
}
},
"delete":{
"description":"Remove a specific bandwidthAllocation resource. DELETE method is typically used in \"Unregister from Bandwidth Management Service\" procedure",
"operationId":"BandwithAllocation_DEL",
"tags":[
"BandwithAllocation"
""
],
"summary":"Remove a specific bandwidthAllocation",
"description":"Used in 'Unregister from Bandwidth Management Service' procedure as described in clause 6.2.3.",
"description":"Represents a bandwidth allocation instance",
"required":true,
"schema":{
"type":"string"
}
},
"Query.AppInstanceId":{
"name":"app_instance_id",
"in":"query",
"description":"A MEC application instance may use multiple app_instance_ids as an input parameter to query the bandwidth allocation of a list of mobile edge application instances.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
}
}
},
"Query.AppName":{
"name":"app_name",
"in":"query",
"description":"A MEC application instance may use multiple ser_names as an input parameter to query the bandwidth allocation of a list of mobile edge application instances.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
}
}
},
"Query.SessionId":{
"name":"session_id",
"in":"query",
"description":"A MEC application instance may use session_id as an input parameter to query the bandwidth allocation of a list of sessions.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
}
}
}
},
"requestBodies":{
"BwInfo":{
"description":"Bandwidth Allocation information",
"required":true,
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/BwInfo"
}
}
}
"responses":{
"204":{
"description":"Upon success, a response 204 No Content without any response body is returned."
},
"BwInfoDeltas":{
"description":"Description of the changes to instruct the server how to modify the Bandwidth Allocation information.",
"required":true,
"400":{
"description":"Bad Request : used to indicate that incorrect parameters were passed to the request.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/BwInfoDeltas"
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
}
},
"links":{
"GetBandwithAllocation":{
"operationId":"BandwithAllocation_GET",
"description":"The `allocationId` value returned in the response can be used as the `allocationId` parameter in 'GET .../bw_allocations/{allocationId}''",
"parameters":{
"description":"regex = \\/bwm\\/v1\\/bw_allocations\\/(.*); allocationId = location.match(regex)[1]; where \"location\" is the location header uri returned from operationId BandwithAllocations_POST ",
"allocationId":"TBC"
}
},
"PatBandwithAllocation":{
"operationId":"BandwithAllocation_PAT",
"description":"The `allocationId` value returned in the response can be used as the `allocationId` parameter in 'PATCH .../bw_allocations/{allocationId}''",
"parameters":{
"description":"regex = \\/bwm\\/v1\\/bw_allocations\\/(.*); allocationId = location.match(regex)[1]; where \"location\" is the location header uri returned from operationId BandwithAllocations_POST ",
"allocationId":"TBC"
}
},
"PutBandwithAllocation":{
"operationId":"BandwithAllocation_PUT",
"description":"The `allocationId` value returned in the response can be used as the `allocationId` parameter in 'PUT .../bw_allocations/{allocationId}''",
"parameters":{
"description":"regex = \\/bwm\\/v1\\/bw_allocations\\/(.*); allocationId = location.match(regex)[1]; where \"location\" is the location header uri returned from operationId BandwithAllocations_POST ",
"allocationId":"TBC"
}
},
"DelBandwithAllocation":{
"operationId":"BandwithAllocation_DEL",
"description":"The `allocationId` value returned in the response can be used as the `allocationId` parameter in 'DELETE .../bw_allocations/{allocationId}''",
"parameters":{
"description":"regex = \\/bwm\\/v1\\/bw_allocations\\/(.*); allocationId = location.match(regex)[1]; where \"location\" is the location header uri returned from operationId BandwithAllocations_POST ",
"allocationId":"TBC"
}
}
},
"responses":{
"BandwithAllocation":{
"description":"Bandwidth Allocation.",
"403":{
"description":"Forbidden : operation is not allowed given the current status of the resource.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/BwInfo"
"type":"object",
"required":[
"problemDetails"
],
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"BandwithAllocation.201":{
"description":"Bandwidth Allocation.",
"404":{
"description":"Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/BwInfo"
}
}
},
"headers":{
"location":{
"description":"The resource URI of the created resource",
"schema":{
"type":"string",
"format":"uri"
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"BandwithAllocations":{
"description":"Bandwidth Allocations.",
"412":{
"description":"Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
"content":{
"application/json":{
"schema":{
"type":"array",
"minItems":0,
"items":{
"$ref":"#/components/schemas/BwInfo"
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
},
"links":{
"getBandwithAllocation":{
"$ref":"#/components/links/GetBandwithAllocation"
},
"patBandwithAllocation":{
"$ref":"#/components/links/PatBandwithAllocation"
},
"putBandwithAllocation":{
"$ref":"#/components/links/PutBandwithAllocation"
},
"delBandwithAllocation":{
"$ref":"#/components/links/DelBandwithAllocation"
}
}
},
"Error.400":{
"description":"Bad Request. It is used to indicate that incorrect parameters were passed to the request.",