Skip to content

Commit

Permalink
doc: create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianneto authored Sep 10, 2024
1 parent 9eaa1a4 commit a46ecf3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Media Metadata
API to extract metadata from media using `ffprobe` under the hood.

## Usage
`$ docker compose up -d`

## API
1. `GET /`
2. `POST /metadata`
```
{
"link": {{ mediaLink }}
}
```

### Examples:

```
$ curl -X GET http://127.0.0.1
```

```
$ curl -X POST -d '{"link":"https://images.rawpixel.com/image_png_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA4L3B4ODM3MDQxLWltYWdlLWpvYjg1MV8xLnBuZw.png"}' http://127.0.0.1/metadata
```

0 comments on commit a46ecf3

Please sign in to comment.