mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-22 22:55:28 +00:00
Commit from m3o/m3o action
This commit is contained in:
8
curl/rss/add/addANewFeed.sh
Executable file
8
curl/rss/add/addANewFeed.sh
Executable 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
6
curl/rss/feed/readAFeed.sh
Executable 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
4
curl/rss/list/listRssFeeds.sh
Executable 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
6
curl/rss/remove/removeAFeed.sh
Executable 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"
|
||||
}'
|
||||
Reference in New Issue
Block a user