{"type":"api","title":"Get Membership","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"getMembership","tags":["Sites"],"summary":"Get Membership","description":"Getting the site children details and device details.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"siteId","description":"Site id to retrieve device associated with the site.","default":"","required":true,"type":"string","in":"path"},{"name":"offset","description":"offset/starting row","default":"","required":false,"type":"string","in":"query"},{"name":"limit","description":"Number of sites to be retrieved","default":"","required":false,"type":"string","in":"query"},{"name":"deviceFamily","description":"Device family name ","default":"","required":false,"type":"string","in":"query"},{"name":"serialNumber","description":"Device serial number","default":"","required":false,"type":"string","in":"query"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"site":{"type":"object","properties":{"response":{"type":"array","items":{"type":"object","properties":{}}},"version":{"type":"string"}}},"device":{"type":"array","items":{"type":"object","properties":{"response":{"type":"array","items":{"type":"object","properties":{}}},"version":{"type":"string"},"siteId":{"type":"string"}}}}},"$$ref":"#/definitions/GetMembershipResponse"}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"404":{"description":"The client made a request for a resource that does not exist."},"500":{"description":"The server could not fulfill the request."}},"__originalOperationId":"getMembership","method":"get","path":"/dna/intent/api/v1/membership/{siteId}"}}