Giter VIP home page Giter VIP logo

Comments (2)

a-beudin avatar a-beudin commented on June 12, 2024

Hello,

The /sms/outgoing endpoint always returns a list of IDs, and the only way to get all sms details is to get one by one by ID.

The OVH manager probably (I could not try it) does the same thing under the hood.

from php-ovh.

rbeuque74 avatar rbeuque74 commented on June 12, 2024

Hello,

Thanks for your issue.
As @a-beudin said, the endpoint /sms/:serviceId/outgoing is returning a list of IDs. You will have to iterate over the list to retrieve all the values.
The OVH Manager has indeed an under the hood mecanism to fetch all the records at the same time, but this is not possible using api.ovh.com/v1. We will rewrite a part of our APIs in the future to have a return that always be a list of objects, instead of list of ids.

If you have any further questions regarding the API itself, and not regarding the PHP wrapper for our API, I would ask you to join the API community mailing-list, where we are addressing our customers questions: [email protected] (subscription by sending an email to [email protected] and follow the instructions).

I will close this issue at it is not related to php-ovh wrapper.

from php-ovh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.