Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-10-29 10:40:25 +00:00
parent 8e9779a8cb
commit 4e64b77e47
127 changed files with 895 additions and 0 deletions

8
curl/rss/add/addANewFeed.sh Executable file
View File

@@ -0,0 +1,8 @@
curl "https://api.m3o.com/v1/rss/Add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"category": "news",
"name": "bbc",
"url": "http://feeds.bbci.co.uk/news/rss.xml"
}'

6
curl/rss/feed/readAFeed.sh Executable file
View File

@@ -0,0 +1,6 @@
curl "https://api.m3o.com/v1/rss/Feed" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "bbc"
}'

4
curl/rss/list/listRssFeeds.sh Executable file
View File

@@ -0,0 +1,4 @@
curl "https://api.m3o.com/v1/rss/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

6
curl/rss/remove/removeAFeed.sh Executable file
View File

@@ -0,0 +1,6 @@
curl "https://api.m3o.com/v1/rss/Remove" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "bbc"
}'