Nexus restapi timestamp in docker repo

rest

#1

I see in the web-gui browse there is a blob created/blob updated parameter, but I’ve not found this in rest api /v1/search, /v1/search/assets or /v1/components{id}

DEBUG:urllib3.connectionpool:https://nexus.XXXXXXXXX:443 "GET /service/rest/v1/search?continuationToken=35303a6662623731386563326536386534306164613562663030326165663836336633 HTTP/1.1" 200 32607
DEBUG:nexusapi:{
  "items" : [ {
    "id" : "c2Vuc2lvOjc2ZDdkN2U0MTg2YTM5MGYxYmZjYjdmNDI2MmFiZDFh",
    "repository" : "sensio",
    "format" : "docker",
    "group" : null,
    "name" : "sensio/build-spux-x86",
    "version" : "6.2",
    "assets" : [ {
      "downloadUrl" : "https://nexus.XXXXXXXXX/repository/sensio/v2/sensio/build-spux-x86/manifests/6.2",
      "path" : "v2/sensio/build-spux-x86/manifests/6.2",
      "id" : "c2Vuc2lvOjEzYjI5ZTQ0OWYwZTNiOGRlZmQzMzVhZTMxOTBjZTRh",
      "repository" : "sensio",
      "format" : "docker",
      "checksum" : {
        "sha1" : "7d8401450db7a530f4b82a8ec38e94bf370e8ad4",
        "sha256" : "1f397b5bba3f8b9fcb5e12455f7363d24d8f616156cfcafeea5f852843c28ddf"
      }
    } ]
  },


DEBUG:urllib3.connectionpool:https://nexus.XXXXXXXXX:443 "GET /service/rest/v1/components/c2Vuc2lvOmRmYmVmMDllZmUxNjQ0ZWE2ZGU3MDM3MDM5MGU0OTFl HTTP/1.1" 200 637
INFO:nexusapi:component:{
  "id" : "c2Vuc2lvOmRmYmVmMDllZmUxNjQ0ZWE2ZGU3MDM3MDM5MGU0OTFl",
  "repository" : "sensio",
  "format" : "docker",
  "group" : null,
  "name" : "sensio/ips",
  "version" : "1.2.3",
  "assets" : [ {
    "downloadUrl" : "https://nexus.XXXXXXXXX/repository/sensio/v2/sensio/ips/manifests/1.2.3",
    "path" : "v2/sensio/ips/manifests/1.2.3",
    "id" : "c2Vuc2lvOmQ0ODExNzU0MWRjYjg5ZWM1NmUxZjk2ZDZkYzdkZDVm",
    "repository" : "sensio",
    "format" : "docker",
    "checksum" : {
      "sha1" : "81fbf5b7dada65fb969f40ae4d7427414e3cce54",
      "sha256" : "e4361ca6d2cd9b079f3d06c5d398f30aadbe7a17ab05f53c51299f79f6925503"
    }
  } ]
}

How can I get hold of this timestamp?


#2

There is an open request here to add this information: https://issues.sonatype.org/browse/NEXUS-17917

Please comment on that issue and vote for it.

Regards,

Rich