Project

General

Profile

Actions

action #64075

closed

Use validation consistently in WebAPI controllers

Added by livdywan about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-03-02
Due date:
% Done:

0%

Estimated time:

Description

While working on client scripts I ran into bugs to do with incorrect use of the API and error handling. So I thought it worth investigating how we currently validate parameters and what could be done to make it more predictable and more reliable.

Retroactively filing this ticket to track my investigation and proposals.


Checklist

  • JobTemplates create,update
  • JobGroup create,update
  • Asset register,get,delete
  • Bug list,show,create,update,destroy
  • Comment create
  • Job list
  • Locks
  • Worker list,create

Related issues 1 (0 open1 closed)

Related to openQA Project - coordination #64322: [epic] Improve feedback on multi-machine API errorsResolvedmkittler2020-03-09

Actions
Actions

Also available in: Atom PDF