Skip to content

Commit

Permalink
Add images resource
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRambaud committed Mar 17, 2021
1 parent 385407b commit 29075ba
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/content/1.7/webservice/resources/images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Images
---

# Resources for Images

### Image_types

| Name | Format | Required | Description |
| :----------------- | :----- | :------: | :---------- |
| **general** | || |
| **products** | || |
| **categories** | || |
| **manufacturers** | || |
| **suppliers** | || |
| **stores** | || |
| **customizations** | || |


### Blank schema

```xml
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<image_types>
<general xlink:href="http://ps-develop.localhost/api/images/general" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<products xlink:href="http://ps-develop.localhost/api/images/products" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<categories xlink:href="http://ps-develop.localhost/api/images/categories" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<manufacturers xlink:href="http://ps-develop.localhost/api/images/manufacturers" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<suppliers xlink:href="http://ps-develop.localhost/api/images/suppliers" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<stores xlink:href="http://ps-develop.localhost/api/images/stores" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
<customizations xlink:href="http://ps-develop.localhost/api/images/customizations" get="true" put="false" post="false" delete="false" head="true" upload_allowed_mimetypes="image/gif, image/jpg, image/jpeg, image/pjpeg, image/png, image/x-png"/>
</image_types>
</prestashop>
```

0 comments on commit 29075ba

Please sign in to comment.