Skip to content

Commit

Permalink
Add resource name in required endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedekind561 authored Jan 27, 2023
1 parent 12e27f9 commit c72097d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 200.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ https://video-rec.herokuapp.com

Your website should have the following four endpoints.

### `GET` "/"
### `GET` "/videos"

This endpoint is used to return all of the videos

#### Example Response

See `exampleresponse.json`

### `POST` "/"
### `POST` "/videos"

This endpoint is used to add a video to the API.

Expand Down Expand Up @@ -97,7 +97,7 @@ If not successful
}
```

### `GET` "/{id}"
### `GET` "/videos/{id}"

Returns the video with the ID contained within the `{id}` parameter

Expand All @@ -112,7 +112,7 @@ Returns the video with the ID contained within the `{id}` parameter
}
```

### `DELETE` "/{id}"
### `DELETE` "/videos/{id}"

Deletes the video with the ID container within the `{id}` parameter

Expand Down

0 comments on commit c72097d

Please sign in to comment.