Permanent Entity Keys¶
/api/repositories/{repository}/entities/{entity}/keys/permanent
| Parameter | Type | Purpose |
|---|---|---|
| repository | string | the name of the Repository |
| entity | int | The ID of the entity to view |
Get¶
-
GET/api/repositories/(string: repository)/entities/(int: entityID)/keys/permanent¶ Lists permanent keys of the corresponding Entity
GET /api/repositories/jupiter/entities/1/keys/permanent HTTP/1.1
Accept: application/json
| Response Code | Reason |
|---|---|
| 200 | No error |
| 500 | Server error |
The response will be a Standard Response, with a list of permanent keys in the corresponding Entity.
The columns array will contain the list of columns for each data row.
| Human Name | Column Name | Description |
|---|---|---|
| Lh Attrs | _lhnames | The attributes that form the primary key |
| Status | __STATUS | Whether the key is Discovered or Permanent. |
| Verified | _verified | Whether the key quality has been verified against all rows. |
| Ref | JOB_ID | The key analysis reference number. |
| Quality % | GOODNESS | A measure of how well the attributes form a key |
| Keys | CONFIRMATIONS | The number of non-duplicated keys. |
| Duplicate Keys | SETS | The number of distinct key values that are duplicated. |
| Duplicate Rows | CONTRADICTIONS | The number of rows with duplicate keys. |
| Verified Date | _checked_date | When the key rule was last verified. |
| Verified By | CHECKED_BY | Who verified the key rule. |
| Created Date | _created_date | When the key rule was created. |
| Created By | CREATED_BY | Who created the key rule. |
| Rh Attr ID | RH_ATTR | Ids of the right hand attributes that form the primary key |
| Lh Attr Ids | LH_ATTRS | Ids of the left hand attributes that form the primary key |
data row will contain the list of permanent keys of the corresponding Entity:
"rows": [
{
"dataRow": [
"Key",
"Permanent",
"Yes",
"220",
"50.000",
"1",
"2",
"5",
"2015/03/10 16:46:36",
"bob@TEST-7",
"",
"1"
],
"metadata": {
"url": "/api/repositories/jupiter/entities/22/keys/-1/duplicates"
}
}
metadata contains the url to drill down to each row.
If there are no permanent keys in the Entity, rows will be an empty string.