Questions tagged [swagger]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Issue with Magento 2.4 and WebAPI integrationAdminTokenServiceV1 - Requested service is not available

We have some trouble accessing the WebAPI Our integration software (Tradebox) is connecting to our Magento 2 instance, but the error logs show the following [2020-10-15 10:30:49] main.CRITICAL: Report ...
0
votes
1answer
21 views

Magento 2 Stock update API Postman error (Consumer is not authorized to access %resources)

I am trying to update the product quantity using postman. But i am getting the following errors { "message": "Consumer is not authorized to access %resources", "parameters&...
0
votes
0answers
93 views

SWAGGER: Parser error on line 27 end of the stream or a document separator is expected

When i try to get the API schema from swagger for an actuve customer y get this error Parser error on line 27 end of the stream or a document separator is expected https://magento.farmagsa.com.ar/...
0
votes
1answer
32 views

Magento 2 swagger error

while accessing https://website-url/swagger got error as 500 : {"message":"Internal Error. Details are available in Magento log file. Report ID: webapi-5f33c4d0d4891"} https://...
1
vote
1answer
269 views

Swagger not opening in 2.3.5-p1 magento - “\DateTime” parameter type is invalid

I had a fresh installation of magento 2.3.5-p1. But the swagger is giving error. I checked git issues where someone has suggested to disable dotmailer modules. I did, but still the error remains.
0
votes
0answers
336 views

In magento 2.3.5 Swagger is not working (Failed to load API definition.)

I had upgraded the magento version to 2.3.5 after that swagger is not working in my setup Image Reference : To debug the i click invalid button it shows {"schemaValidationMessages":[{"...
0
votes
0answers
28 views

Magento 2: Swagger not showing Admin endpoints

I'm trying to view my local's API endpoints via swagger: http://magento2.docker/swagger However, even though i already pasted the API KEY into the box, it's still not showing the admin endpoints that ...
0
votes
0answers
32 views

how get magento 2 with swagger UI API

i was created a token and enable a web api too and then set a user roles. when open www.abc.com/swagger,i applied token API_key(on top), but it shown blank screen. kindly guide me step by step ...
1
vote
0answers
50 views

Swagger redirecting to login when going from Production mode to Developer

When I tried to set my production mode instance to developer mode I can not get swagger to load. If I go to mystore.com/swagger it will redirect to the login page. Deploy mode is set to developer. I ...
0
votes
1answer
130 views

Difference in response from magento swagger and postman Magento 2

I have custom API in which I am retrieving customer balance as: use Magento\CustomerBalance\Model\BalanceFactory; ........................ ........................ $model = $this->balanceFactory-&...
0
votes
2answers
91 views

How to programmatically reindex product after update ex. price/stock quantity

how to programmatically reindex product after update ex. price/stock quantity using Magento ver. 2.3.2 API via Swagger? I do application in C# which sync my system with Magento. I have a lot of ...
3
votes
1answer
99 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": "...
1
vote
2answers
3k 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
658 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
125 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
1k 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:...
6
votes
1answer
489 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
98 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
232 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
1k 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. ...