Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-22334

REST Scripting body for /v1/script/{name}/run does nothing?

    Details

    • Type: Bug
    • Status: New
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.21.0
    • Fix Version/s: None
    • Component/s: REST, Scripting
    • Labels:
      None

      Description

      /v1/script/{name}/run
      

      I noticed the body field for the above appears to do nothing. It's not required but whatever I put there seemed to have no affect on the script execution.
      The "Model" section of Swagger and the doc (https://help.sonatype.com/display/NXRM3/Script+API#ScriptAPI-RunScript) were also silent.

      If there is a use, I think it's worth documenting because it's totally unclear to me. Otherwise, I think you can remove this field.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jtom Joe Tom
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title