First, what API at HubSpot are you talking to? Are you using the REST endpoints directly or are you using one of the language specific packages (Node.JS, PHP, Ruby, or Python)?
In most cases, it is better to document this via in-code/code completion comments, or you use something like VS Code. The methods used to effectively communicate with the API are included in these packages. On the one hand, using them speeds up development time, and on the other hand, they also provide some security.
Now, if you want to use the REST endpoints, but they don't offer an endpoint that meets your expectations, you have 2 options. Either you find a workaround to get your data into the system via alternative endpoints, or you have to find a solution that is not based on the API.
My original question was based on whether you want to serve multiple APIs with one query schema. In that case, if the project is large enough, you would build a proxy API that accepts queries according to a schema and rebuilds them to the appropriate endpoints.
Since this doesn't seem to be the case, my final advice is:
See if you can find an up-to-date Open API documentation for HubSpot. That would at least be a clear start, better than their doc.
First, what API at HubSpot are you talking to? Are you using the REST endpoints directly or are you using one of the language specific packages (Node.JS, PHP, Ruby, or Python)?
REST endpoints.
What does the language specific packages API give then REST endpoints doesn't?
In most cases, it is better to document this via in-code/code completion comments, or you use something like VS Code. The methods used to effectively communicate with the API are included in these packages. On the one hand, using them speeds up development time, and on the other hand, they also provide some security.
Now, if you want to use the REST endpoints, but they don't offer an endpoint that meets your expectations, you have 2 options. Either you find a workaround to get your data into the system via alternative endpoints, or you have to find a solution that is not based on the API.
My original question was based on whether you want to serve multiple APIs with one query schema. In that case, if the project is large enough, you would build a proxy API that accepts queries according to a schema and rebuilds them to the appropriate endpoints.
Since this doesn't seem to be the case, my final advice is:
See if you can find an up-to-date Open API documentation for HubSpot. That would at least be a clear start, better than their doc.
Ok, All the software we use are third party for instead Pipedrive, Hubspot, Active Campaign etc. I cannot develope a new endpoint right?
Since it isn't your System and also not your source code, how would you?
Thank you very much @josun, really appreciate your time and help. You answered my question that I was looking for some time now.
You have an amazing day!