| media type | data type |
|---|---|
| application/json | ServiceTags (JSON) |
PUT /tags/importservicetags
Content-Type: application/json
{
"tags" : {
"property1" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"serviceName" : "...",
"tagUpdateTime" : 12345,
"serviceResources" : [ {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"tagDefinitions" : {
"property1" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"tagVersion" : 12345,
"tagsChangeExtent" : "ALL",
"isDelta" : true,
"isTagsDeduped" : true,
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"op" : "..."
}
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
[ {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
[ {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
[ {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"tags" : {
"property1" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"serviceName" : "...",
"tagUpdateTime" : 12345,
"serviceResources" : [ {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"tagDefinitions" : {
"property1" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"tagVersion" : 12345,
"tagsChangeExtent" : "SERVICE_RESOURCE",
"isDelta" : true,
"isTagsDeduped" : true,
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"op" : "..."
}
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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" : [ {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ { }, { } ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ { }, { } ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"associatedTags" : [ {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ { }, { } ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ { }, { } ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"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
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"totalCount" : 12345,
"startIndex" : 12345,
"pageSize" : 12345,
"queryTimeMS" : 12345,
"sortBy" : "...",
"sortType" : "...",
"resultSize" : 12345,
"listSize" : 12345,
"list" : [ {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
}
| 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,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"sortType" : "...",
"totalCount" : 12345,
"listSize" : 12345,
"pageSize" : 12345,
"queryTimeMS" : 12345,
"startIndex" : 12345,
"resultSize" : 12345,
"list" : [ {
"tagId" : 12345,
"resourceId" : 12345,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"tagId" : 12345,
"resourceId" : 12345,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"sortBy" : "..."
}
| 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
{
"listSize" : 12345,
"list" : [ {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"totalCount" : 12345,
"sortType" : "...",
"pageSize" : 12345,
"sortBy" : "...",
"resultSize" : 12345,
"startIndex" : 12345,
"queryTimeMS" : 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
[ {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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
{
"tags" : {
"property1" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ { }, { } ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"serviceName" : "...",
"tagUpdateTime" : 12345,
"serviceResources" : [ {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}, {
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ],
"tagDefinitions" : {
"property1" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
},
"property2" : {
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
},
"tagVersion" : 12345,
"tagsChangeExtent" : "TAGS",
"isDelta" : true,
"isTagsDeduped" : true,
"resourceToTagIds" : {
"property1" : [ 12345, 12345 ],
"property2" : [ 12345, 12345 ]
},
"op" : "..."
}
| 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
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"source" : "...",
"attributeDefs" : [ {
"type" : "...",
"name" : "..."
}, {
"type" : "...",
"name" : "..."
} ],
"name" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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,
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
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
[ {
"options" : {
"property1" : { },
"property2" : { }
},
"owner" : 12345,
"validityPeriods" : [ {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
}, {
"timeZone" : "...",
"recurrences" : [ {
"interval" : { },
"schedule" : { }
}, {
"interval" : { },
"schedule" : { }
} ],
"startTime" : "...",
"endTime" : "..."
} ],
"type" : "...",
"attributes" : {
"property1" : "...",
"property2" : "..."
},
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
} ]
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}
| 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
{
"resourceElements" : {
"property1" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
},
"property2" : {
"isRecursive" : true,
"values" : [ "...", "..." ],
"isExcludes" : true
}
},
"resourceSignature" : "...",
"serviceName" : "...",
"additionalInfo" : {
"property1" : "...",
"property2" : "..."
},
"ownerUser" : "...",
"createdBy" : "...",
"createTime" : 12345,
"id" : 12345,
"version" : 12345,
"isEnabled" : true,
"guid" : "...",
"updateTime" : 12345,
"updatedBy" : "..."
}