Cosmic Admin API Reference

listResourceDetails

List resource detail(s)

Request parameters

Parameter NameDescriptionRequired
resourcetypelist by resource typetrue
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
fordisplayif set to true, only details marked with display=true, are returned. False by defaultfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keylist by keyfalse
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is falsefalse
pagefalse
pagesizefalse
projectidlist objects by projectfalse
resourceidlist by resource idfalse
valuelist by key, value. Needs to be passed only along with keyfalse

Response Tags

Response NameDescription
accountthe account associated with the tag
customercustomer associated with the tag
domainthe domain associated with the tag
domainidthe ID of the domain associated with the tag
keytag key name
projectthe project name where tag belongs to
projectidthe project id the tag belongs to
resourceidid of the resource
resourcetyperesource type
valuetag value