Skip to content

Conversation

@dave-ok
Copy link
Owner

@dave-ok dave-ok commented Nov 29, 2019

[Closes #21]

What does this PR do?

Enables employees to view single gif post

Description of Task to be completed?

  • Create route for endpoint
  • Define validation rules
  • Create controller to view gif post

How should this be manually tested?

  • Send a GET request to /api/v1/gifs/:gifId
    • with a valid token
    • a valid gifId
  • Expect a JSON response and status code 200 on success
  • Expect 422 for invalid data
  • Expect 401 for invalid token

@dave-ok dave-ok added the feature New feature label Nov 29, 2019
@dave-ok dave-ok merged commit bf27748 into develop Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] - Employees can view a specific gif post

2 participants