Add API for location creation requests

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • Component/s: SolarUser
    • None

      OPS-16 adds a management tool for creating locations and associated metadata to support weather collection, however there is no automated way for applications to request new locations to be created. This ticket is to provide such an API. The API would provide methods to:

      1. Submit location details (country, time zone, etc.) and associated datum stream metadata (source ID, weather/day/forecast tags, etc.) as a request to have them turned into a new location entity with associated stream metadata.
      2. Query for a list of submitted requests, with some filtering such as by request status or ID.

      The request approval process is still asynchronous, in that a request is submitted and then must be handled by SNF (i.e. OPS-16) to approve/reject. Thus each request must have a status property that indicates what point in the process the request is at.

      It might make sense for the location details to be submitted as JSON objects, using the standard JSON structure used by SolarNetwork/SolarNode, along with whatever other metadata properties are appropriate.

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: