Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-27465

Add "publish" timestamp to NuGet api

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Artifactory, NuGet
    • Labels:
      None

      Description

      NuGet.org supplies the "publish" timestamp of each package in the api, which is visible in the Visual Studio GUI, and useful for downstream tooling.  Artifactory does not supply this data through the api, but the value is visible in the UI.  Can the publish date please be added to the api?

      nuget.org:

       

      {
        "@id": "https://api.nuget.org/v3/registration5-gz-semver2/newtonsoft.json/13.0.1.json",
        "@type": [
          "Package",
          "http://schema.nuget.org/catalog#Permalink"
        ],
        "catalogEntry": "https://api.nuget.org/v3/catalog0/data/2021.03.22.20.13.54/newtonsoft.json.13.0.1.json",
        "listed": true,
        "packageContent": "https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg",
        "published": "2021-03-22T20:10:49.407+00:00",
        "registration": "https://api.nuget.org/v3/registration5-gz-semver2/newtonsoft.json/index.json",
        "@context": {
          "@vocab": "http://schema.nuget.org/schema#",
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "catalogEntry": {
            "@type": "@id"
          },
          "registration": {
            "@type": "@id"
          },
          "packageContent": {
            "@type": "@id"
          },
          "published": {
            "@type": "xsd:dateTime"
          }
        }
      }
      

       

      Artifactory nuget.org proxy

       

      {
        "listed": true,
        "packageContent": "https://artifactory:443/artifactory/api/nuget/v3/nugetorg-proxy/registration-semver2/Download/newtonsoft.json/13.0.1",
        "registration": "https://artifactory:443/artifactory/api/nuget/v3/nugetorg-proxy/registration-semver2/newtonsoft.json/index.json",
        "@id": "https://artifactory:443/artifactory/api/nuget/v3/nugetorg-proxy/registration-semver2/newtonsoft.json/13.0.1.json"
      }
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ccopsey Chris Copsey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: