ClusterCockpit / cc-backend

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

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

Closed aw32 closed 8 months ago

aw32 commented 8 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)