Skip to main content Skip to complementary content

Creating an operation

An operation is the action that can be performed on your resources.

Procedure

  1. Click Create new in the top-right corner.
    Information noteTip: If you want to create your operation directly in a previously created section, you can do so by clicking the + button to the right of the section name. If you have already created a resource, you can click the + button to the right of the resource path to create an operation for this resource.
    Create new menu expanded.
  2. Click Operation, or click the type of operation, for example GET if you are creating it in an existing resource.
    If you create an operation in an existing resource, the method and the path of the operation are filled automatically.
  3. Enter a Name for your operation, Get list of contacts for example.
  4. Select the Method and enter a Path.
    If you enter a path that does not match an existing resource, a new resource will be created.
    Example of creating a GET method called "Get list of contacts" with the /contacts/ path.
  5. Optional: Enter a Description.
  6. Optional: Enter Tags and an Id.
  7. If you want to add a different security scheme than the whole API, in the Security section, select Customize security for this resource.
  8. Select your security scheme(s).
    Information noteNote: Security schemes are defined in the Security section of your API.
  9. Optional: Add Request and Responses parameters.
    Reusable request bodies are not supported.
    Information noteNote: Header names containing dashes, such as Content-Type or Access-Key can cause errors in Talend Studio. You should avoid using them if you want to import your API definition and use it in a Job or Route.

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!