View owner attributes
get
/gsadmin/v1/{appName}/attributes/{owner}
Returns the specified owner index attributes.
If zip extension is specified (add ".zip" at the end of the path), the owner attributes are exported as a zip file.
Request
Supported Media Types
- application/json
Path Parameters
- appName
-
Type:
stringRequired:trueSpecifies the name of your application, for example, Discover.- owner
Type:stringRequired:trueSpecifies the owner of the index attributes, for example, system.
Security
- basicAuth
-
Type:
basicDescription:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
The specified owner index attributes.
Body
Represents a config owner's index attributes. Child nodes represent attributes conforming to one of the following ecr-types:
- dimension
- property
- derived-property
Root Schema : ConfigOwnerAttributes
Type:
objectRepresents a config owner's index attributes. Child nodes represent attributes conforming to one of the following ecr-types:
- dimension
- property
- derived-property
- ecr:createDate
-
Type:
string - ecr:lastModified
-
Type:
string - ecr:lastModifiedBy
-
Type:
string - ecr:type
-
Type:
stringDefault Value:attributes-owner-folder
Examples
The following example shows how to view the index attributes of a specified owner in a given ECR application by submitting a GET request on the REST resource using cURL:
curl -u <username>:<password> http://localhost:8006/ifcr/gsadmin/v1/{appName}/attributes/{owner}
Response Body Example
The following example shows the response returned in JSON format.
{
ecr:lastModifiedBy: "admin",
ecr:lastModified: "2016-03-15T15:50:27.062Z",
ecr:createDate: "2016-03-15T15:50:26.786Z",
ecr:type: "attributes-owner-folder",
camera.35_mm_camera_lens_equivalent: {
ecr:lastModifiedBy: "admin",
propertyDataType: "ALPHA",
ecr:lastModified: "2016-03-15T15:50:27.062Z",
sourcePropertyNames: [
"camera.35 mm camera lens equivalent"
],
ecr:createDate: "2016-03-15T15:50:26.811Z",
ecr:type: "property"
},
camera.color: {
isWildcardEnabledInRecordSearch: true,
ecr:lastModifiedBy: "admin",
ecr:lastModified: "2016-03-15T15:50:27.062Z",
displayOrder: 4,
sourcePropertyNames: [
"camera.Colour of product"
],
isAutogen: true,
ecr:createDate: "2016-03-15T15:50:26.801Z",
isRecordSearchEnabled: true,
ecr:type: "dimension"
},
product.sku: {
ecr:lastModifiedBy: "admin",
propertyDataType: "ALPHA",
ecr:lastModified: "2016-03-15T15:50:27.062Z",
ecr:createDate: "2016-03-15T15:50:26.798Z",
isRecordSearchEnabled: true,
ecr:type: "property"
}
}