Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In your application you need to let users perforn the following operations on tasks: ( 1 ) create , read,update,delete; ( 2 ) describe; (
In your application you need to let users perforn the following operations on tasks:createread,update,delete;describe;get all;describe all.RequirementsCreate one:RequestURL:taskMethod:POSTPayloadexample:title:"Task"description":"Some description"ResponseStatus:BodyexampleCommentsDuringcreation you can only set the title and description of a TaskResponse body is the id of the newly created TaskRead One:RequestURL:taskidMethod:GETResponseScenario:Task foundStatus:Bodyexample:id:"title":"Task"description":"Some description","status":"CREATED"Scenario:Task Not foundStatus:Update One:RequestURL:taskidMethod:PUTPayloadexample:title:"Task"description":"New description","status":"BLOCKED"ResponseScenario:Task foundStatus:Scenario:Task not foundStatus:Scenario:Invalid status givenStatus:Body:Available statuses are: CREATED,APPROVAL,REJECTED,BLOCKED,DONEAdditional requirements:Payload does not have to contain values for all fields.Modify only those that are different from nullDelete One:RequestURL:taskidMethod:DELETEResponseScenario:Task foundStatus:Scenario:Task not foundStatus:Describe one:RequestURL:taskdescribeidMethod:GETResponseScenario:Task foundStatus:Bodyexample:Description of Task:Nameis:Some description"Scenario:Task not foundStatus:Bodyexample:Task with iddoes not exist"Find all tasks:RequestURL:tasksMethod:GETResponseStatus:Bodyexample:id:"title":"Task"description":"Some description","status":"CREATED"id:"title":"Task"description":"Another description","status":"CREATED"Describe all tasks:RequestURL:tasksdescribeMethod:GETResponseStatus:Bodyexample:Description of Task:Taskis:Some description","Description of Task:Taskis:Another description"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started