Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilgooz/service-articles
A MESG service to create and manage articles
https://github.com/ilgooz/service-articles
Last synced: about 1 month ago
JSON representation
A MESG service to create and manage articles
- Host: GitHub
- URL: https://github.com/ilgooz/service-articles
- Owner: ilgooz
- License: other
- Created: 2018-11-22T14:12:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T10:43:44.000Z (over 4 years ago)
- Last Synced: 2024-06-19T04:26:41.384Z (5 months ago)
- Language: Go
- Homepage: https://mesg.com
- Size: 3.47 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
## service-articles [![CircleCI](https://img.shields.io/circleci/project/github/ilgooz/service-articles.svg)](https://github.com/ilgooz/service-articles) [![codecov](https://codecov.io/gh/ilgooz/service-articles/branch/master/graph/badge.svg)](https://codecov.io/gh/ilgooz/service-articles)
A MESG service to create and manage articles.```bash
mesg-core service deploy https://github.com/ilgooz/service-articles
```# Tasks
## create
Task key: `create`
Create an article
### Inputs
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **article** | `Object` | An article to create. |### Outputs
##### error
Output key: `error`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **message** | `String` | |##### success
Output key: `success`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **article** | `Object` | An article. |## get
Task key: `get`
Create an article
### Inputs
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **id** | `String` | ID or human readable id of article. |### Outputs
##### error
Output key: `error`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **message** | `String` | |##### success
Output key: `success`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **article** | `Object` | Requested Article |## list
Task key: `list`
Create an article
### Outputs
##### error
Output key: `error`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **message** | `String` | |##### success
Output key: `success`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **articles** | `Object` | List of articles. |