/getCameraParam API needs valid parameters

Answered

Comments

3 comments

  • Avatar
    Sergey

    Please refer to the API documentation.

    Request should contain one or more parameter names. It is used to read camera parameter values (not the list of the parameters itself).

    Full list of parameters (with names and descriptors) is available via /getCamerasEx request (cameraAdvancedParams field).

    0
    Comment actions Permalink
  • Avatar
    Tho Pham

    Dear Sergey Ivanov,

    How can I set name of camera (rename camera)?

    I used /api/setCameraParam but it return the same error:

     Thank in advance!

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello Tho Pham ,

    It seems you have a typo the name of the method.

    The method is called setResourceParams - mind the "s" in the end.

    0
    Comment actions Permalink

Please sign in to leave a comment.