{"type":"api","title":"Get Generic Config Groups List","meta":{"id":"/apps/pubhub/media/edm-api-v2/a2a30bcc9ecab5281b65761ae61df7e0031d5691/22db37d1-bb2c-3814-9940-2f648c7f33ab","swagger":"2.0","info":{"contact":{"email":"devmgmt@cisco.com"},"description":"This is the IoT device management core service. The service is responsible for managing the lifecycle of various IoT gateways and endpoints deployed as part of the Field Area Networks","license":{"name":"Licensing is primarily subscription based. Call Andy now!","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"IoT Device Lifecycle Management","version":"4.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/edm/v2","schemes":["https"],"securityDefinitions":{"bearerAuth":{"description":"This is the bearer Auth token.","in":"header","name":"Authorization","type":"apiKey"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"}}},"spec":{"description":"returns a list of all groups (not paginated) for the tenant with a generic response model.\u003cbr /\u003e One of the below permissions is needed to invoke this API\u003cbr /\u003e- Tenant Management\u003cbr /\u003e- Manage Devices\u003cbr /\u003e- Manage Groups\u003cbr /\u003e- Manage Firmware Upgrades.","operationId":"getGenericConfigGroupsList","parameters":[{"description":"The uuid of the tenant in whose context we are calling the api.","format":"uuid","in":"header","name":"x-tenant-id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"successful retrieval","schema":{"items":{"example":{"dataUrl":null,"deviceType":"ir1100","displayString":"000-Ir1101","id":"400","value":"000-Ir1101"},"properties":{"dataUrl":{"description":"url to be used by the UI","type":"string"},"deviceType":{"description":"device type","type":"string"},"displayString":{"type":"string"},"id":{"description":"id or uuid","type":"string"},"value":{"type":"string"}},"type":"object","$$ref":"#/definitions/GenericListResponse"},"type":"array"}},"400":{"description":"Bad request","schema":{"description":"Specifies the error that occured during the request.","example":{"code":"10000","message":"Short message about the error","meta":"more information about that error"},"properties":{"code":{"description":"The error code that occured in application level.","type":"number"},"message":{"description":"A user readable message that describes the error in details.","type":"string"},"meta":{"description":"Contains more information about the error message. For example when a validation error occurs, this field describes the fields that were invalid and the validation error that occured. The content of this object can vary based on the type of error.\n","type":"object"}},"required":["code","message"],"type":"object","$$ref":"#/definitions/error"}},"401":{"description":"Unauthorized","schema":{"example":"Authentication Token is invalid","type":"string"}},"403":{"description":"Forbidden","schema":{"example":"Permission denied to access the resource","type":"string"}},"404":{"description":"Invalid group id supplied","schema":{"example":"Group not found by given group id","type":"string"}}},"summary":"returns a list of all config groups for the tenant","tags":["groupsv2"],"__originalOperationId":"getGenericConfigGroupsList","security":[{"bearerAuth":[]}],"method":"get","path":"/groups/get_list"}}