Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2353

Create seed file with metadata using the REST API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 1.12
    • 1.21
    • injector, REST_api

    Description

      At the moment its not possible to create a seed file and specify any metadata when using the REST API. The file gets created but there is no option to add any metadata to the seed URLs.

      If we use a payload like this:

      {
          "name":"name-of-seedlist", 
          "seedUrls":[
              {
                  "url" : "http://example.com",
                  "metadata" : {
                      "key1" : "value1",
                      "key2" : "value2",
                      "key3" : "value3"
                  }
              }
          ]
      }
      

      It should be easy to specify the desired metadata. Also this should keep BC with the previous array syntax if we only want to specify the list of URLs without any metadata at all.

      Attachments

        Issue Links

          Activity

            People

              jorgelbg Jorge Luis Betancourt Gonzalez
              jorgelbg Jorge Luis Betancourt Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: