# API Doku

**URL:** <https://forum.shopware.com/t/api-doku/59774>\
**Category:** Installation / Einstieg\
**Created:** [29. Mai 2019 um 08:32 UTC](https://forum.shopware.com/t/api-doku/59774 "2019-05-29T08:32:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloC3](https://avatars.discourse-cdn.com/v4/letter/f/838e76/32.png) [@FloC3](https://forum.shopware.com/u/FloC3)\
**Post date:** [29. Mai 2019 um 08:32 UTC](https://forum.shopware.com/t/api-doku/59774/1 "2019-05-29T08:32:32Z")

</div>

Hallo,

bis wann ist denn mit einer Doku der neuen „Headless“ Shopware API (Shopware 6) zu rechnen? Oder gibt es sie evtl schon?

---

<div class="post-metadata">

**Author:** ![Stephan\_Pohl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stephan_pohl/32/10212_2.png) [@Stephan\_Pohl](https://forum.shopware.com/u/Stephan_Pohl)\
**Post date:** [29. Mai 2019 um 08:37 UTC](https://forum.shopware.com/t/api-doku/59774/2 "2019-05-29T08:37:33Z")

</div>

Hallo @FloC3‍,

bitte einmal hier entlang:&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/api](https://docs.shopware.com/en/shopware-platform-dev-en/api)

Viele Grüße,  
Stephan Pohl&nbsp; ![Shopware](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "Shopware")

---

<div class="post-metadata">

**Author:** ![TeichDatensysteme](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@TeichDatensysteme](https://forum.shopware.com/u/TeichDatensysteme)\
**Post date:** [29. Mai 2019 um 09:27 UTC](https://forum.shopware.com/t/api-doku/59774/3 "2019-05-29T09:27:57Z")

</div>

Hi [@Stephan Pohl]([http://forum.shopware.com/profile/2/Stephan](http://forum.shopware.com/profile/2/Stephan) Pohl „Stephan Pohl“)‍,

in der Doku gibt es den Verweis

> The full schema can be explored with the swagger client in the administration client under&nbsp; **Documentation → Platform API**.

Die Stelle finde ich leider nicht - hast Du da noch einen Verweis für mich?  
Wenn ich die API so verstehe, kann man quasi alle Resourcen per API ansteuern (Use Case, z.B. Custom Fields/Sets anlegen usw. …)  
Das würde ich gerne in der Doku einmal prüfen und angucken.

Vorab vielen Dank!  
Niklas  
&nbsp;

---

<div class="post-metadata">

**Author:** ![Stephan\_Pohl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stephan_pohl/32/10212_2.png) [@Stephan\_Pohl](https://forum.shopware.com/u/Stephan_Pohl)\
**Post date:** [29. Mai 2019 um 09:45 UTC](https://forum.shopware.com/t/api-doku/59774/4 "2019-05-29T09:45:29Z")

</div>

Hey @TeichDatensysteme‍,

ich habe gerade einen Fix für SwaggerUI gepusht, der gleich auf den „master“-Branch landet. Nachdem der PR durch ist kannst du SwaggerUI über [http://your-shop.com/api/v1/\_info/swagger.html](http://your-shop.com/api/v1/_info/swagger.html) die API Doku bei dir auf’m System aufrufen.

Hier der Commit:&nbsp;[https://github.com/shopware/platform/commit/f72d2c29ebe0b2906cd225d86ca66d61cc037ba5](https://github.com/shopware/platform/commit/f72d2c29ebe0b2906cd225d86ca66d61cc037ba5)

Viele Grüße,  
Stephan Pohl&nbsp; ![Shopware](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "Shopware")

---

<div class="post-metadata">

**Author:** ![biloba](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@biloba](https://forum.shopware.com/u/biloba)\
**Post date:** [5. Juni 2019 um 12:09 UTC](https://forum.shopware.com/t/api-doku/59774/5 "2019-06-05T12:09:43Z")

</div>

[@Stephan Pohl]([http://forum.shopware.com/profile/2/Stephan](http://forum.shopware.com/profile/2/Stephan) Pohl “Stephan Pohl”)‍

Also wenn ich&nbsp;/api/v1/\_info/swagger.html aufrufe bekomme ich einen 404. Muss ich da noch etwas anderes beachten?

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [10. Juni 2019 um 07:21 UTC](https://forum.shopware.com/t/api-doku/59774/6 "2019-06-10T07:21:36Z")

</div>

> [@biloba schrieb:](https://forum.shopware.com/profile/28352/biloba "biloba")
> 
> [@Stephan Pohl]([http://forum.shopware.com/profile/2/Stephan](http://forum.shopware.com/profile/2/Stephan) Pohl „Stephan Pohl“)‍
> 
> Also wenn ich&nbsp;/api/v1/\_info/swagger.html aufrufe bekomme ich einen 404. Muss ich da noch etwas anderes beachten?

Also ich habe mein Repo wie folgt geupdatet wie in den Docs beschrieben

```
> git pull
> cd platform
> git pull
> cd ..
> composer update
> ./psh.phar cache
> .psh.phar install

```

Was nicht funktioniert ist, wenn du Swagger über die watch URL / localhost:8080 aufrufst. Du musst deine „normale“ URL verwenden bspw.&nbsp;[http://development.test/api/v1/\_info/swagger.html](http://development.test/api/v1/_info/swagger.html)

---

<div class="post-metadata">

**Author:** ![biloba](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@biloba](https://forum.shopware.com/u/biloba)\
**Post date:** [12. Juni 2019 um 12:11 UTC](https://forum.shopware.com/t/api-doku/59774/7 "2019-06-12T12:11:38Z")

</div>

Danke für den Hinweis, hat mir noch mal den Anstoss gegeben nachzuforschen. Hatte nochmal alles aktualisiert und dann tat es immer noch nicht. Hatte jetzt aber festgestellt, dass ich noch einen Fehler in meiner nginx Config Datei hatte.
