code: def mock_get_trial_job():
      responses.add(
          responses.GET,
          "http://localhost:8080/api/v1/nni/trial-jobs/:id",
          json={
              "id": "GPInz",
              "status": "SUCCEEDED",
              "hyperParameters": [
                  '{"parameter_id":0, \
          "parameter_source":"algorithm","parameters":{"C":0.8748364659110364, \
          "kernel":"linear","degree":1,"gamma":0.040451413392113666}, \
          "parameter_index":0}'
              ],
              "logPath": "file://localhost:/home/shinyang/nni-experiments/bkfhOdUl/trials/GPInz",
              "startTime": 1600326905581,
              "sequenceId": 0,
              "endTime": 1600326906629,
              "finalMetricData": [
                  {
                      "timestamp": 1600326906493,
                      "trialJobId": "GPInz",
                      "parameterId": "0",
                      "type": "FINAL",
                      "sequence": 0,
                      "data": '"0.9866666666666667"',
                  }
              ],
          },
          status=200,
          content_type="application/json",
      )
  
file_path: nni/test/ut/tools/nnictl/mock/restful_server.py
imports: import responses
label_desc: Use image node_id 10 for calling a global function with example usage: mock_get_trial_job() without return types