Skip to main content Skip to complementary content

Creating an operation to get a specific movie

Create a GET operation that returns a Movie data type.

Procedure

  1. Click the + button to the right of the Movies section and select Operation.
  2. Configure the general information as follows:
    Field Value
    Name Get information about a movie
    Method GET
    Path /movies/{movieId}
    Description Returns information about a specific movie.
    Id getMovieById
    Screenshot of the configured general information.
  3. Click Add next to RESPONSES and select 2XX - Default in the Status field.
  4. Click Add next to BODY.
  5. In the TYPE section, select Movie in the Type list.
  6. Click Save.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!