Questions tagged [swagger]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
23 views

install Magento 2 API Client

I want to install this dial but I do not understand or obtain GIT_USER_ID and GIT_REPO_ID.git https://github.com/netz98/magento2-swagger-api-client-demo { "repositories": [ { "type": "...
0
votes
1answer
54 views

Can't POST data I'm receiving through a GET method

I'm trying to import data from one magento website to another with Postman's help. I'm having no problems getting the data from the website 1, however I can't import it to the other website with the ...
0
votes
0answers
46 views

Failed to load API definition error in magento 2 swagger

I am hitting magento 2 swagger UI but getting 500 error Failed to load API definition http://'website_name'.com/swagger/
0
votes
1answer
136 views

Can't read from file “http://<SITE_URL>/rest/default/schema?services=all” in Magento 2.2.6

And Error response is {"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://<SITE_URL>/rest/default/schema?services=all"}]}
0
votes
2answers
57 views

Calling M2 REST API from browser for anonymous users

I'm trying to call REST endpoints from the browser. Initially, I'd like to be able to fetch product information. It looks like session-based authorization is what I'm after. I started by grabbing a ...
3
votes
2answers
376 views

Magento 2 swagger-ui error

I trying this url http://192.168.1.67/isac/swagger but I got this error below 500 : {"message":"Internal Error. Details are available in Magento log file. Report ID: webapi-5bfe5e3ac4100"} http:...
2
votes
1answer
105 views

Swagger available to the world wide web

On any given Magento2 website, you can navigate to https://yourmagentostore.com/swagger and access the swagger UI for API methods. One of the methods that you can test before being authenticated is ...
0
votes
1answer
38 views

How to check is valid token or not. Magento 2 API

I need to do API method, which return data from db table just for admin. There is my method: /** * @return array * @throws \Magento\Framework\Exception\LocalizedException */ ...
0
votes
1answer
70 views

API with swagger in magento 1 or other tool

I am trying to find out way to create api for magento 1. can we use swagger for magento 1 or any other tools available for magento 1.9. Please give suggestion or need to create from scratch ?
2
votes
1answer
676 views

How to upload category image via REST API

Using swagger I am not seeing any interface out of the box that would allow me to upload category images via API calls, in the same fashion as I can do with product images by base_64 encoding them. ...