media type | data type |
---|---|
application/json | ServiceTags (JSON) |
PUT /tags/importservicetags
Content-Type: application/json
{
"op" : "...",
"tagUpdateTime" : 12345,
"tagDefinitions" : {
"property1" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"tagsChangeExtent" : "NONE",
"isDelta" : true,
"serviceName" : "...",
"tags" : {
"property1" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"serviceResources" : [ {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"tagVersion" : 12345,
"isTagsDeduped" : true
}
HTTP/1.1 204 No Content
media type | data type | description |
---|---|---|
application/json | array of RangerServiceResource (JSON) |
GET /tags/resources
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description | default | constraints |
---|---|---|---|---|
updateIfExists | query | true | boolean |
media type | data type |
---|---|
application/json | RangerServiceResource (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
POST /tags/resources
Content-Type: application/json
Accept: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | array of RangerTagDef (JSON) |
GET /tags/tagdefs
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description | default | constraints |
---|---|---|---|---|
updateIfExists | query | true | boolean |
media type | data type |
---|---|
application/json | RangerTagDef (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerTagDef (JSON) |
POST /tags/tagdefs
Content-Type: application/json
Accept: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
resource-guid | query | |
tag-guid | query |
DELETE /tags/tagresourcemaps
Content-Type: */*
...
HTTP/1.1 204 No Content
media type | data type | description |
---|---|---|
application/json | array of RangerTagResourceMap (JSON) |
GET /tags/tagresourcemaps
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description | default | constraints |
---|---|---|---|---|
lenient | query | false | boolean | |
resource-guid | query | |||
tag-guid | query |
media type | data type | description |
---|---|---|
application/json | RangerTagResourceMap (JSON) |
POST /tags/tagresourcemaps
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | array of RangerTag (JSON) |
GET /tags/tags
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description | default | constraints |
---|---|---|---|---|
updateIfExists | query | true | boolean |
media type | data type |
---|---|
application/json | RangerTag (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerTag (JSON) |
POST /tags/tags
Content-Type: application/json
Accept: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | array of string (JSON) |
GET /tags/types
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description | default | constraints |
---|---|---|---|---|
serviceName | path | |||
lastActivationTime | query | 0 | long | |
lastKnownVersion | query | long | ||
pluginCapabilities | query | |||
pluginId | query | |||
supportsTagDeltas | query | false | boolean |
media type | data type | description |
---|---|---|
application/json | ServiceTags (JSON) |
GET /tags/download/{serviceName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"op" : "...",
"tagUpdateTime" : 12345,
"tagDefinitions" : {
"property1" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"tagsChangeExtent" : "ALL",
"isDelta" : true,
"serviceName" : "...",
"tags" : {
"property1" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"serviceResources" : [ {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"tagVersion" : 12345,
"isTagsDeduped" : true
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /tags/resource/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
GET /tags/resource/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerServiceResource (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
PUT /tags/resource/{id}
Content-Type: application/json
Accept: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | RangerServiceResourceWithTagsList (JSON) |
GET /tags/resources/paginated
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resourceList" : [ {
"associatedTags" : [ {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ { }, { } ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ { }, { } ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"associatedTags" : [ {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ { }, { } ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ { }, { } ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
name | type | description | default | constraints |
---|---|---|---|---|
days | query | 3 | int |
DELETE /tags/server/tagdeltas
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /tags/tag/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerTag (JSON) |
GET /tags/tag/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerTag (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerTag (JSON) |
PUT /tags/tag/{id}
Content-Type: application/json
Accept: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /tags/tagdef/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerTagDef (JSON) |
GET /tags/tagdef/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | RangerTagDef (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerTagDef (JSON) |
PUT /tags/tagdef/{id}
Content-Type: application/json
Accept: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | PListOfRangerTagDef (JSON) |
GET /tags/tagdefs/paginated
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"sortType" : "...",
"startIndex" : 12345,
"sortBy" : "...",
"listSize" : 12345,
"totalCount" : 12345,
"list" : [ {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"resultSize" : 12345,
"pageSize" : 12345,
"queryTimeMS" : 12345
}
name | type | description |
---|---|---|
resourceGuid | query | |
tagGuid | query |
media type | data type | description |
---|---|---|
application/json | RangerTagResourceMap (JSON) |
GET /tags/tagresourcemap/tag-resource-guid
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /tags/tagresourcemap/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | RangerTagResourceMap (JSON) |
GET /tags/tagresourcemap/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
media type | data type | description |
---|---|---|
application/json | PListOfRangerTagResourceMap (JSON) |
GET /tags/tagresourcemaps/paginated
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultSize" : 12345,
"pageSize" : 12345,
"sortType" : "...",
"startIndex" : 12345,
"sortBy" : "...",
"totalCount" : 12345,
"list" : [ {
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"queryTimeMS" : 12345,
"listSize" : 12345
}
media type | data type | description |
---|---|---|
application/json | PListOfRangerTag (JSON) |
GET /tags/tags/paginated
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"sortBy" : "...",
"resultSize" : 12345,
"listSize" : 12345,
"queryTimeMS" : 12345,
"totalCount" : 12345,
"sortType" : "...",
"pageSize" : 12345,
"list" : [ {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"startIndex" : 12345
}
name | type | description | default | constraints |
---|---|---|---|---|
guid | path | |||
deleteReferences | query | false | boolean |
DELETE /tags/resource/guid/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
guid | path |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
GET /tags/resource/guid/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
guid | path |
media type | data type |
---|---|
application/json | RangerServiceResource (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
PUT /tags/resource/guid/{guid}
Content-Type: application/json
Accept: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
serviceName | path |
media type | data type | description |
---|---|---|
application/json | array of RangerServiceResource (JSON) |
GET /tags/resources/service/{serviceName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description | default | constraints |
---|---|---|---|---|
serviceName | path | |||
lastActivationTime | query | 0 | long | |
lastKnownVersion | query | long | ||
pluginCapabilities | query | |||
pluginId | query | |||
supportsTagDeltas | query | false | boolean |
media type | data type | description |
---|---|---|
application/json | ServiceTags (JSON) |
GET /tags/secure/download/{serviceName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"op" : "...",
"tagUpdateTime" : 12345,
"tagDefinitions" : {
"property1" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"tagsChangeExtent" : "ALL",
"isDelta" : true,
"serviceName" : "...",
"tags" : {
"property1" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
},
"property2" : {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
},
"serviceResources" : [ {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}, {
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ],
"tagVersion" : 12345,
"isTagsDeduped" : true
}
name | type | description |
---|---|---|
guid | path |
DELETE /tags/tag/guid/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
guid | path |
media type | data type | description |
---|---|---|
application/json | RangerTag (JSON) |
GET /tags/tag/guid/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
guid | path |
media type | data type |
---|---|
application/json | RangerTag (JSON) |
media type | data type | description |
---|---|---|
application/json | RangerTag (JSON) |
PUT /tags/tag/guid/{guid}
Content-Type: application/json
Accept: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
guid | path |
DELETE /tags/tagdef/guid/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
guid | path |
media type | data type | description |
---|---|---|
application/json | RangerTagDef (JSON) |
GET /tags/tagdef/guid/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
name | path |
media type | data type | description |
---|---|---|
application/json | RangerTagDef (JSON) |
GET /tags/tagdef/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"attributeDefs" : [ {
"name" : "...",
"type" : "..."
}, {
"name" : "...",
"type" : "..."
} ],
"source" : "...",
"name" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
guid | path |
DELETE /tags/tagresourcemap/guid/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description |
---|---|---|
guid | path |
media type | data type | description |
---|---|---|
application/json | RangerTagResourceMap (JSON) |
GET /tags/tagresourcemap/guid/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"tagId" : 12345,
"resourceId" : 12345,
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
Resets/ removes tag policy cache for given service.
name | type | description |
---|---|---|
serviceName | query | non-empty service-name |
media type | data type | description |
---|---|---|
application/json | boolean (JSON) | true if successfully reseted/ removed for given service, false otherwise. |
GET /tags/tags/cache/reset
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Resets/ removes tag policy cache for all.
media type | data type | description |
---|---|---|
application/json | boolean (JSON) | true if successfully reseted/ removed, false otherwise. |
GET /tags/tags/cache/reset-all
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
name | type | description |
---|---|---|
type | path |
media type | data type | description |
---|---|---|
application/json | array of RangerTag (JSON) |
GET /tags/tags/type/{type}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"owner" : 12345,
"options" : {
"property1" : { },
"property2" : { }
},
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"validityPeriods" : [ {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
}, {
"endTime" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"timeZone" : "..."
} ],
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
} ]
name | type | description |
---|---|---|
serviceName | path |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
GET /tags/resource/service/{serviceName}/resource
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}
name | type | description |
---|---|---|
resourceSignature | path | |
serviceName | path |
media type | data type | description |
---|---|---|
application/json | RangerServiceResource (JSON) |
GET /tags/resource/service/{serviceName}/signature/{resourceSignature}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resourceSignature" : "...",
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
},
"property2" : {
"isRecursive" : true,
"isExcludes" : true,
"values" : [ "...", "..." ]
}
},
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"serviceName" : "...",
"updatedBy" : "...",
"createdBy" : "...",
"isEnabled" : true,
"guid" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"updateTime" : 12345
}