{"openapi":"3.0.0","info":{"x-logo":{"url":"/swagger/mexdemo/logo.svg","backgroundColor":"#fafafa","version":"1.0"},"version":"0.0.1","title":"5GFF Edge Experience Management API Spec","termsOfService":"http://5gff/terms/","contact":{"email":"sasa.savic@team.telstra.com"},"description":"\n# Introduction\n\nEdge provides a set of SDKs add Libraries containing a collection of operations and resources that assist in creating applications for the many different services offered by Edge and at the Edge.\n# Edge SDK - NodeJS\n\n## EdgeManager\nDiscovers the nearest Edge location based on a set of attributes provided  as part of the query. In the below example, we are looking for an Edge location closest to the provided GPS location and latency.\n\nExample Code:\n```javascript\nimport EdgeManager, { EdgeDiscovery } from \"@5gff/edgemanager\";\n\nconst { EDGE_CLIENT_ID, EDGE_CLIENT_SECRET, EDGE_REGION } = process.env;\n\nlet manager = new EdgeManager({\n  client_id: EDGE_CLIENT_ID,\n  client_secret: EDGE_CLIENT_SECRET,\n  region: EDGE_REGION\n});\n\nmanager.discovery({\n  location: {\n    lat: 178.8854,\n    long: -37.7488\n  },\n  latency: 200\n}).then((result) => console.log(result))\n\n```\n\nExample Response:\n```node\n[\n  {\n    \"ern\": \"ern:5gff:edge:west:abc123def321\",\n    \"fqdn\": \"node001.west.edge.5gff.com\",\n    \"region\": \"west\",\n    \"services\": [\n      {\n        \"ern\": \"ern:5gff:compute:west:abc123def321:videofeed/bbcad34def332\",\n        \"service_fqdn\": \"videofeed.node001.west.edge.5gff.com\",\n        \"service_path_suffix\": \"feed\",\n        \"tls\": true,\n        \"protocol\": \"http\",\n        \"internal_port\": 38883,\n        \"public_port\": 8080\n      },\n      {\n        \"ern\": \"ern:5gff:compute:west:abc123def321:vehicle/aaaa34def332\",\n        \"service_fqdn\": \"vehicle.node001.west.edge.5gff.com\",\n        \"tls\": true,\n        \"protocol\": \"udp\",\n        \"internal_port\": 37773,\n        \"public_port\": 37335\n      }\n    ],\n    \"location\": {\n      \"timestamp\": 656653535364,\n      \"vertical\": null,\n      \"horizontal\": null,\n      \"longitude\": -37.5546,\n      \"latitude\": 177.8757,\n      \"bearing\": null,\n      \"altitude\": 10,\n      \"velocity\": null\n    },\n    \"latency\": 59,\n    \"status\": \"found\"\n  }\n]\n```\n"},"servers":[{"url":"http://localhost:{port}/v1","description":"Local host API","variables":{"port":{"enum":["3333"],"default":"3333"}}},{"url":"https://edge.5gff.com:{port}/v1","description":"Production API","variables":{"port":{"enum":["443","8443"],"default":"443"}}},{"url":"https://{region}.edge.5gff.com:{port}/v1","description":"Production API for Regions","variables":{"region":{"enum":["west","east","north","south"],"default":"west"},"port":{"enum":["443","8443"],"default":"443"}}},{"url":"wss://edge.5gff.com:{port}/v1","description":"WebSocket API","variables":{"port":{"enum":["443","8443"],"default":"443"}}}],"paths":{"/discover":{"get":{"operationId":"discovery","tags":["discovery"],"parameters":[{"in":"query","name":"ern","schema":{"type":"string"},"description":"Edge Resource Number (e.g. ern:5gff:edge:west:abc123def321)"},{"in":"query","name":"density","schema":{"type":"number"},"description":"LTE density of a region w.r.t. subscribers"},{"in":"query","name":"latency","schema":{"type":"integer"},"description":"Acceptable latency for the edge location, in relation to your current location"},{"in":"query","name":"location","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeLatLong"}}}},{"in":"query","name":"workload_type","schema":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeWorkloadType"},"description":"Workloads deployed at the edge are associated to a type of workload. Those may be for basic compute or machine learning workloads"},{"in":"query","name":"region","schema":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"},"description":"Edge locations belong to a geographical or logical region"},{"in":"query","name":"capacity","schema":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeCapacityType"},"description":"Region capacity is a near real-time metric associated to the utilised aggreagate capacity at the region"}],"responses":{"200":{"description":"An array of discovered Edge locations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeDiscoveryResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"5XX":{"$ref":"#/components/responses/Unexpected"}}}},"/slice":{"post":{"description":"Create a network slice on the edge infrastructure. This will create appropriate network paths\n","operationId":"createSlice","tags":["slice"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.slice.EdgeSliceRequest"}}}},"responses":{"201":{"description":"Created Slice","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.slice.EdgeSliceCreateResponse"}}}}}}},"/slice/{id}":{"get":{"description":"Retrieve a network slice by the slice identifier\n","operationId":"getSlice","tags":["slice"],"parameters":[{"name":"id","in":"path","description":"Slice ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.slice.EdgeSliceResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"5XX":{"$ref":"#/components/responses/Unexpected"}}},"patch":{"description":"Modify an existing network slice by adjusting slice parameters for RAN, Transport and Core slice\n","operationId":"updateSlice","tags":["slice"],"parameters":[{"name":"id","in":"path","required":true,"description":"Slice ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.slice.EdgeSliceResponse"}}}}}},"delete":{"description":"Remove a network slice (WARNING: There may be services associated)\n","operationId":"removeSlice","tags":["slice"],"parameters":[{"name":"id","in":"path","description":"Slice ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful delete operation"}}}},"/service/{id}":{"get":{"description":"Retrieve the edge service\n","operationId":"getService","tags":["service"],"parameters":[{"name":"id","in":"path","description":"Service ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceResponse"}}}}}}},"/service":{"get":{"description":"Create a scaled edge service confined to single or multiple regions\n","operationId":"getServiceByAttributes","tags":["service"],"parameters":[{"name":"ern","in":"query","required":true,"description":"Edge Resource Number","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceResponse"}}}}}},"post":{"description":"Create a scaled edge service confined to single or multiple regions\n","operationId":"createService","tags":["service"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceRequest"}}}},"responses":{"201":{"description":"Created Service","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceCreateResponse"}}}}}}},"/service/{id}/topology":{"put":{"description":"Modify service topology\n","operationId":"modifyTopology","tags":["service"],"parameters":[{"name":"id","in":"path","required":true,"description":"Service identifier","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceTopologyRequest"}}}},"responses":{"200":{"description":"Updated service"}}}},"/service/{id}/shift":{"put":{"description":"Shift service from one region to another\n","operationId":"shiftService","tags":["service"],"parameters":[{"name":"id","in":"path","required":true,"description":"Service identifier","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceShiftRequest"}}}},"responses":{"200":{"description":"Updated service"}}}}},"components":{"securitySchemes":{"oAuth2":{"type":"oauth2","description":"This API uses OAuth 2 with the implicit, password and client credentials grant flow","flows":{"implicit":{"authorizationUrl":"https://5gff.com/oauth/authorize","scopes":{"discovery:read":"Grant read-only access to discovery data"}},"password":{"tokenUrl":"https://5gff.com/oauth/token","scopes":{"discovery:read":"Grant read-only access to discovery data"}},"clientCredentials":{"tokenUrl":"https://5gff.com/oauth/token","scopes":{"discovery:read":"Grant read-only access to discovery data"}}}}},"schemas":{"edge.5gff.api.errors.Error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"edge.5gff.api.common.EdgeServiceMetadata":{"type":"object","properties":{"name":{"type":"string"}}},"edge.5gff.api.types.EdgeWorkloadType":{"type":"string","enum":["media","machine_learning","web"]},"edge.5gff.api.types.EdgeRegionType":{"type":"string","nullable":true,"enum":["west","east","south","north"]},"edge.5gff.api.types.EdgeCapacityType":{"type":"string","nullable":true,"enum":["small","medium","large"]},"edge.5gff.api.types.EdgeProperties":{"type":"object","properties":{"type":{"title":"Data type","type":"string"},"data":{"title":"Data value","type":"object"}}},"edge.5gff.api.types.EdgeSliceType":{"type":"string","nullable":true,"enum":["core","ran","transport"]},"edge.5gff.api.types.EdgeServiceShiftTriggerType":{"type":"string","nullable":true,"enum":["subscriber-location-change","subscriber-density"]},"edge.5gff.api.types.EdgeRegionAvailabilityType":{"type":"number","nullable":true,"default":99,"enum":[95,98,99,99.9,99.99,99.999]},"edge.5gff.api.discovery.EdgeLatLong":{"type":"object","properties":{"lat":{"type":"number"},"long":{"type":"number"}},"required":["lat","long"]},"edge.5gff.api.discovery.EdgeDiscoveryStatus":{"type":"string","enum":["found","not_found","unknown"],"default":"found"},"edge.5gff.api.discovery.EdgeLocation":{"properties":{"timestamp":{"title":"timestamp","type":"number","format":"int64"},"vertical":{"title":"vertical accuracy (meters)","format":"double","type":"number","nullable":true},"horizontal":{"title":"horizontal accuracy (radius in meters)","format":"double","type":"number","nullable":true},"longitude":{"title":"longitude in WGS 84 coordinates","format":"double","type":"number"},"latitude":{"title":"latitude in WGS 84 coordinates","format":"double","type":"number"},"bearing":{"title":"Degrees east relative to true north","format":"double","type":"number","nullable":true},"altitude":{"title":"Altitude in meters","format":"double","type":"number","nullable":true},"velocity":{"title":"Velocity (meters/sec)","format":"double","type":"number","nullable":true}},"type":"object"},"edge.5gff.api.discovery.EdgeHostedServices":{"properties":{"ern":{"description":"Edge Resource Number","type":"string"},"service_fqdn":{"description":"Service FQDN","type":"string"},"service_path_suffix":{"description":"Public facing path for HTTP L7 access.","type":"string"},"ports":{"type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServicePort"}}},"description":"AppPort describes an L4 or L7 public access port/path mapping. This is used to track external to internal mappings for access via a shared load balancer or reverse proxy.","type":"object"},"edge.5gff.api.discovery.EdgeDiscoveryData":{"type":"object","properties":{"ern":{"title":"Edge Resource Number","type":"string"},"fqdn":{"title":"Fully Qualified Domain Name","type":"string"},"region":{"title":"Region name","$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"},"services":{"title":"List of Services and their endpoints hosted at the edge","items":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeHostedServices"},"type":"array"},"location":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeLocation","title":"Location of the edge"},"latency":{"title":"Current latency figure for the edge location","type":"number"},"status":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeDiscoveryStatus","title":"Status return"},"properties":{"title":"Vendor specific data","items":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeProperties"},"type":"array"}},"required":["ern","fqdn","services","location","latency","status"]},"edge.5gff.api.discovery.EdgeDiscoveryResponse":{"type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.discovery.EdgeDiscoveryData"}},"edge.5gff.api.slice.EdgeSlices":{"type":"object","properties":{"sliceId":{"title":"Slice identifier","type":"string"},"type":{"title":"Slice type","$ref":"#/components/schemas/edge.5gff.api.types.EdgeSliceType"},"properties":{"title":"Slice properties","type":"object"}}},"edge.5gff.api.slice.EdgeSliceCreateResponse":{"type":"object","properties":{"sliceId":{"type":"string"}}},"edge.5gff.api.slice.EdgeSliceResponse":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeSlice"},"spec":{"type":"object","properties":{"associatedSlices":{"title":"Associated slices","items":{"$ref":"#/components/schemas/edge.5gff.api.slice.EdgeSlices"},"type":"array"}}},"metadata":{"$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"},"ern":{"title":"Edge Resource Number","type":"string"}}},"edge.5gff.api.slice.EdgeSliceRequest":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeSlice"},"spec":{"type":"object"},"metadata":{"$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"}}},"edge.5gff.api.service.EdgeServiceProtocolType":{"type":"string","default":"http","enum":["unknown","tcp","udp","http"]},"edge.5gff.api.service.EdgeServicePort":{"type":"object","properties":{"protocol":{"title":"Service protocol specification","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceProtocolType"},"tls":{"title":"TLS terminated","type":"boolean"},"port":{"title":"Service port","type":"integer"},"targetPort":{"title":"Container target port","type":"integer"}}},"edge.5gff.api.service.EdgeServiceNetworkSpec":{"type":"object","properties":{"sliceArn":{"type":"string"}}},"edge.5gff.api.service.EdgeServiceSpec":{"type":"object","properties":{"network":{"title":"Network specifications","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceNetworkSpec"},"ports":{"type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServicePort"}}}},"edge.5gff.api.service.EdgeServiceContainerResourceComputeProfile":{"type":"object","properties":{"memory":{"title":"Compute memory requirements","type":"string"},"cpu":{"title":"Compute CPU requirements","type":"string"}}},"edge.5gff.api.service.EdgeServiceContainerResourceStorageProfile":{"type":"object","properties":{"ephemeralStorage":{"title":"Ephemeral storage requirements","type":"string"}}},"edge.5gff.api.service.EdgeServiceContainerResourcesProfile":{"type":"object","properties":{"requests":{"anyOf":[{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerResourceComputeProfile"},{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerResourceStorageProfile"}]},"limits":{"anyOf":[{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerResourceComputeProfile"},{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerResourceStorageProfile"}]}}},"edge.5gff.api.service.EdgeServiceTopologyRequest":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeServiceTopology"},"spec":{"type":"object","properties":{"serviceErn":{"title":"Service Ern","type":"string"},"specs":{"type":"array","items":{"properties":{"distributionSkew":{"title":"Degree of service distribution unevenness","description":"Describes the degree to which Containers may be unevenly distributed.  It’s the maximum permitted difference between the number of matching  Containers in any two topology domains of a given topology type.  It must be greater than zero.\n","type":"integer"},"region":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"},"availability":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionAvailabilityType"}}}}}},"metadata":{"title":"Metadata","$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"},"ern":{"title":"Edge Resource Number","type":"string"}}},"edge.5gff.api.service.EdgeServiceTopology":{"type":"object","properties":{"distributionSkew":{"title":"Degree of service distribution unevenness","description":"Describes the degree to which Containers may be unevenly distributed.  It’s the maximum permitted difference between the number of matching  Containers in any two topology domains of a given topology type.  It must be greater than zero.\n","type":"integer"},"region":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"},"availability":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionAvailabilityType"}}},"edge.5gff.api.service.EdgeServiceSubscriberDensity":{"type":"object","properties":{"density":{"type":"number"},"regions":{"type":"array","items":{"type":"string"}}}},"edge.5gff.api.service.EdgeServiceImmediateShift":{"type":"object","properties":{"targetRegions":{"type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"}}}},"edge.5gff.api.service.EdgeServiceScheduledShift":{"type":"object","properties":{"targetRegions":{"type":"array","title":"Target regions where to shift the service to","items":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"}},"dateAndTime":{"title":"Date and time when the service shift schedule is to occur","type":"number"}}},"edge.5gff.api.service.EdgeServiceSubscriberLocationChange":{"type":"object","properties":{"subscriberIdentifiers":{"type":"array","items":{"type":"string"}}}},"edge.5gff.api.service.EdgeServiceTriggeredShift":{"type":"object","properties":{"targetRegions":{"type":"array","title":"Target regions where to shift the service to","items":{"$ref":"#/components/schemas/edge.5gff.api.types.EdgeRegionType"}},"triggerType":{"title":"Trigger type that will cause service shift","$ref":"#/components/schemas/edge.5gff.api.types.EdgeServiceShiftTriggerType"},"spec":{"oneOf":[{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceSubscriberLocationChange"},{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceSubscriberDensity"}],"discriminator":{"propertyName":"triggerType"}}}},"edge.5gff.api.service.EdgeServiceShiftRequest":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeServiceShift"},"spec":{"type":"object","properties":{"type":{"type":"string","default":"immediate","enum":["immediate","scheduled","trigger"]},"specs":{"oneOf":[{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceImmediateShift"},{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceScheduledShift"},{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceTriggeredShift"}],"discriminator":{"propertyName":"type"}}}},"metadata":{"title":"Metadata","$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"},"ern":{"title":"Edge Resource Number","type":"string"}}},"edge.5gff.api.service.EdgeServiceContainerPort":{"type":"object","properties":{"protocol":{"title":"Protocol for port","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceProtocolType"},"containerPort":{"title":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.","type":"integer"},"hostPort":{"title":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.","type":"integer"},"hostIp":{"title":"If specified, what host IP to bind the external port to","type":"string"}}},"edge.5gff.api.service.EdgeServiceContainerRestartPolicy":{"type":"string","enum":["always","never"],"default":"always"},"edge.5gff.api.service.EdgeServiceContainer":{"type":"object","properties":{"name":{"title":"Container name (must be unique)","type":"string"},"image":{"title":"Docker image name","type":"string"},"replicas":{"title":"Replica set","type":"number"},"args":{"title":"Container arguments to execute","type":"array","items":{"type":"string"}},"commands":{"title":"Container commands to execute when starting the container","type":"array","items":{"type":"string"}},"resources":{"title":"Compute resources","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerResourcesProfile"},"ports":{"title":"Container port represents a network port in a single container","type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerPort"}},"restartPolicy":{"title":"Container restart policy","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainerRestartPolicy"}}},"edge.5gff.api.service.EdgeServiceRequest":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeService"},"spec":{"type":"object","properties":{"name":{"title":"Service name","type":"string"},"hostname":{"title":"Service hostname","type":"string"},"specs":{"title":"Service specifications","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceSpec"},"topologies":{"title":"Service topologies","type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceTopology"}},"containers":{"title":"Containers","type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainer"}},"failoverPolicy":{"type":"string","enum":["to-cloud","to-nearest-edge","do-nothing"],"default":"to-cloud"}}},"metadata":{"title":"Service metadata","$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"}}},"edge.5gff.api.service.EdgeServiceResponse":{"type":"object","properties":{"apiVersion":{"type":"string","default":"edge.5gff.com/v1"},"kind":{"type":"string","default":"EdgeService"},"spec":{"type":"object","properties":{"name":{"title":"Service name","type":"string"},"hostname":{"title":"Service hostname","type":"string"},"specs":{"title":"Service specifications","$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceSpec"},"topologies":{"title":"Service topologies","type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceTopology"}},"containers":{"title":"Containers","type":"array","items":{"$ref":"#/components/schemas/edge.5gff.api.service.EdgeServiceContainer"}}}},"metadata":{"title":"Service metadata","$ref":"#/components/schemas/edge.5gff.api.common.EdgeServiceMetadata"},"ern":{"title":"Edge Resource Number","type":"string"}}},"edge.5gff.api.service.EdgeServiceCreateResponse":{"type":"object","properties":{"ern":{"title":"Edge Resource Number","type":"string"}}}},"responses":{"BadRequest":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.errors.Error"}}}},"NotFound":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.errors.Error"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.errors.Error"}}}},"Unexpected":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edge.5gff.api.errors.Error"}}}}}},"security":[{"oAuth2":["edge:discovery:read"]}]}