PHPackages                             zamoroka/module-webapi-documents - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zamoroka/module-webapi-documents

ActiveMagento2-module[API Development](/categories/api)

zamoroka/module-webapi-documents
================================

Magento 2 module: Working with documents, using REST API

0.1.2(6y ago)301OSL-3.0PHPPHP ~7.1.3||~7.2.0||~7.3.0

Since Feb 14Pushed 5y agoCompare

[ Source](https://github.com/zamoroka/module-webapi-documents)[ Packagist](https://packagist.org/packages/zamoroka/module-webapi-documents)[ RSS](/packages/zamoroka-module-webapi-documents/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Upload file to Magento 2 using webapi REST
------------------------------------------

[](#upload-file-to-magento-2-using-webapi-rest)

##### Upload PDF using curl

[](#upload-pdf-using-curl)

```
curl --location --request POST '/rest/V1/webapidocuments/upload' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: multipart/form-data; boundary=----something' \
--form 'filename=@/.pdf'

```

##### Upload PDF using HTTP request

[](#upload-pdf-using-http-request)

```
POST /rest/V1/webapidocuments/upload HTTP/1.1
Host:
Authorization: Bearer
Content-Type: multipart/form-data; boundary=----something

----something
Content-Disposition: form-data; name="filename"; filename=".pdf"
Content-Type: application/pdf

(data)
----something

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~82 days

Total

2

Last Release

2202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c37855f66e74dbc07cd43a2aaae7218a10649feb8b7a4da1d9c9eda4940ada7d?d=identicon)[zamoroka](/maintainers/zamoroka)

---

Top Contributors

[![zamoroka](https://avatars.githubusercontent.com/u/9164112?v=4)](https://github.com/zamoroka "zamoroka (3 commits)")

---

Tags

magentomagento2magento2-extensionmagento2-extension-freemagento2-moduleupload-pdf

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/zamoroka-module-webapi-documents/health.svg)

```
[![Health](https://phpackages.com/badges/zamoroka-module-webapi-documents/health.svg)](https://phpackages.com/packages/zamoroka-module-webapi-documents)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[graycore/magento2-cors

A Magento 2 module that enables CORS on the GraphQL and REST Apis

99516.1k](/packages/graycore-magento2-cors)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39112.0k3](/packages/elgentos-module-prismicio)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
