Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://172.25.x.x:8001/API/v1/pm/1/devicePerformance/sysuptime
- {
- "id" :"mainSchema.json",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "links" : [
- {
- "title" : "performance ",
- "href" : "/pm/1/",
- "method": "GET",
- "schema" : {"$ref" : "subSchema.json" }
- }]
- }
- {
- "id" : "subSchema.json",
- "title" : "API to Pm data ",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "$ref" : "#/definitions/PMCategoryList",
- "links" : [
- {
- "title" : "List of PM Data Category",
- "href" : "/",
- "method" : "GET",
- "rel" : "categories",
- "schema" : {"$ref" : "#/definitions/PMCategoryList"}
- }
- ],
- "definitions" : {
- "PMCategoryList" : {
- "type" :"object",
- "properties" :{
- "pmdatatype" : {
- "type" : "array",
- "items" : { "$ref" : "#/definitions/PMDataType"}
- }
- }
- },
- "PMDataType" : {
- "description" :"A given PM data type",
- "type" : "string",
- "enum" : ["devicePerformance/sysuptime","devicePerformance/systemuptime","devicePerformance/cputemp","devicePerformance/cpuusage","devicePerformance/memusage","devicePerformance/memoryusage","networkPerformance/ping","networkPerformance/advping","networkPerformance/lspping","networkPerformance/sla","networkPerformance/linklatency" ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement