Application Programming Interface Guide > Built-in Procedures > Procedures Reference > ListAttributes
 
ListAttributes
Retrieve the resources and attributes for a specified resource set on a given site.
Location
/lib/resource/ (procedure)
/services/databases/system/deployment/ (published resource)
Inputs
siteName: Location of the resource.
kind: The content type—RESOURCE_SET_REFERENCE or RESOURCE_SET_DEFINITION.
resourceSet: Resource set name or set definition. If this is NULL, the procedure lists both names and definitions.
Outputs
attributeList: A cursor whose rows encode the attributes of the data sources included in the specified resource set:
resourcePath: Path to the resource.
resourceType Type of resource.
attributeName: Name of attribute
attributeType: Type of attribute.
attributeValue: Value of the attribute, serialized as a JSON value.
isEndpoint: True if the attribute value is a physical property of a data source; false if it is a logical property of a data source as a TDV metadata artifact.
Exceptions
IllegalArgumentException: If the specified resource set definition is invalid.