ClusterCockpit / cc-backend

Web frontend and API backend server for ClusterCockpit Monitoring Framework
https://www.clustercockpit.org
MIT License
14 stars 12 forks source link

REST interface: Job JSON misses metaData and tags attributes #248

Closed aw32 closed 3 months ago

aw32 commented 3 months ago

When requesting Job attributes from the REST interface, the metaData and tags attributes are not included. I tested both endpoints:

    r.HandleFunc("/jobs/{id}", api.getJobById).Methods(http.MethodPost)
    r.HandleFunc("/jobs/{id}", api.getCompleteJobById).Methods(http.MethodGet)