Sonatype Nexus OSS REST API

/data_cache/{domain}/{target}/content

The following operations are supported on this resource:

GET

Retrieve the contents of the Not Found Cache at the specified domain (repository or group). Note that appended to the end of the url should be the path that you want cache cleared from. i.e. /content/org/blah will clear cache of everything under the org/blah directory.

Parameters

name description type default
domain The domain that will be used, valid options are 'repositories' or 'repo_groups' (Required). path
target The unique id in the domain to use (i.e. repository or group id) (Required). path

Output Payload

element produceable content type(s)
(custom)
  • application/xml
  • application/json
description
(no documentation provided)

DELETE

Expire the cache of the selected domain (repository or group). This includes expiring the cache of items in a proxy repository so the remote will be rechecked on next access, along with clearning the Not Found Cache.

Parameters

name description type default
domain (no documentation provided) path
target (no documentation provided) path

/data_cache/{domain}/{target}/content

Home

REST Endpoints

XML Data Elements

XML Data Types