I tried GET notebooks API to get my all notebooks in Microsoft OneDrive.
When I owned 30 notebooks in OneDrive, the response JSON of GET notebooks API
had only 20 notebooks information. Is this a bug or a feature?
(The GET notebooks API reference says, 'The GET verb with the notebooks resource path
represents all notebooks to which a user has access in Microsoft OneDrive.')
In addition, the response JSON of GET notebooks API had "#odata.nextLink",
that value was "https://www.onenote.com/api/v1.0/notebooks?$skip=20".
I thought that I could get rest of notebooks by the above url.
However, I got '501 Not Implemented' as the response of the above url.
The error response JSON was as follows.
{
"error": {
"code": "20111",
"message": "OData Feature not implemented. Query option 'Skip.",
"#api.url": "http://go.microsoft.com/fwlink/?LinkID=400828"
}
}
Above issues applies to the GET sections API too.
What's the way to get all notebooks/sections via GET notebooks/sections API?
Oops - this was our bad. We just fixed it. It should work for you now and return ALL of your Notebooks and Sections
Related
I'm having trouble exposing a link to download an open API v3 spec from my managed API. I've seen this blog stating:
Export of OpenAPI Specification v3 files in the JSON and YAML formats in the azure portal and the developer portal, as well as through the REST API (YAML only).
However, clicking on this link as you can see shows a 404.
all I could see through the following blog page is that
You can also export the specifications through the visual interface of the Azure portal or a REST API call, with the format query parameter set to openAPI-link.
I'm unaware of the context of where this call is made (against our API endpoint??). any assistance is appreciated.
I've tried https://my.api.endpoint.com?format=openapi-link with no luck)
{
"statusCode": 404,
"message": "Resource not found"
}
Any suggestions?
If you want to export api from Azure API managemnt,we can use the following API to do that. It will export the Api Definition in OpenAPI 3.0 Specification as YAML document to Storage Blob. Then we can download the file from the blob
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}?format=openapi-link
&export=true&api-version=2019-12-01
For more details, please refer to here
Using the Autodesk Forge Auth API, I can get a bearer token for my app and I can get the ID of the user. I want to get a list of Fusion 360 files that the user owns. How can I do this? It seems like it would be part of the Data Management API, but I can't find it.
I use the forge api for data management to ask for the hubs for a user. I get a response that has a 200 status, but there is nothing in the response - no data and nothing like what is in the example.
Any ideals as to how to get those files?
If the GET Hubs response is empty, most likely that user don't have any hub. Is there any warning or error on the response body?
And this tutorial should help you get started, or try this live sample (source in .NET)
I'm trying to perform next API call using PATCH method on a file that is not in a root directory,
API Call for changing the file name (Picture)
The Response (Picture)
The response of above API Call is a File resource with 200 status code, but the file name doesn't changed ;(
I have tried using API v2 and API v3, unfortunately the response is the same. File Name is not changed. For v3 i have used request body {"name": "New Name"}.
Some help please ?
I'm not interested to use any library for perform this call. I'm interested in raw API Call.
Another API Calls for manipulating with files/folders works like expected. Only this call is not working for me.
Sorry for my English,
Thanks in advance.
EDIT: NASA data can be accessed via the SODA API (see https://data.nasa.gov/developer), and the API referred to below seems to be deprecated.
I'm trying to use the NASA API (http://nasa.github.io/api-docs/#introduction) to pull information on NASA patents. The docs show what the JSON reponse should look like and list required parameters for the request, but I can't find any examples of a properly formed request URL. So far I have tried (with my API key):
https://api.nasa.gov/patents/optics?api_key=API_KEY
https://api.nasa.gov/patents/optics.json?api_key=API_KEY
I tested the API key out on an example GET request URL for a different data.gov agency and it returned a valid JSON response, but I've had no luck with the NASA requests.
Does anyone know the proper request format for NASA info from the data.gov API?
I think that there may be a be a better api to use that is actually on NASA's site here: https://data.nasa.gov/developer.
If you scroll down to "NASA Patents" you can see some documentation on how to use the api and a few sample requests to get you started, including how to filter on specific fields.
Reading the API documentation, it would seem that the category name (like optics in your example), should be passed a query parameter, not as part of URI as you are showing. I also don't see noted where they say they support https (of course I just skimmed the API). Try,
http://api.nasa.gov/patents?category=optics&api_key=API_KEY
We are trying to use the Google Drive API to retrieve the model of a Realtime document (API reference). However, if I call the "get" method to retrieve details of a Realtime File generated through the Google Drive Realtime API Playground app (with a blank "revision" field), the result is always:
{
"appId": "292824132082",
"revision": 1,
"data": null
}
even after a lot of editing on the model. If I try to specify a different revision (say, "2") the result is a 500 error:
{
"error": {
"code": 500,
"message": null
}
}
Are we doing something wrong or is there a problem with this specific API?
Calling "get" using the API Playground gets the realtime document associated with the API playground app, not the realtime document associated with your app.
If you update and get both with the API playground you should see contents.