From e6b3b3da6d52487de2f487bd753162358375a291 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 18:07:12 +0200 Subject: [PATCH 01/11] Added aptfile --- Aptfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Aptfile diff --git a/Aptfile b/Aptfile new file mode 100644 index 0000000..6da7d4b --- /dev/null +++ b/Aptfile @@ -0,0 +1,12 @@ +qmake +git +gcc +g++ +cmake +libjsoncpp-dev +libjson-c-dev +uuid-dev +openssl +libssl-dev +zlib1g-dev + From c4f5581b68ffc404f8dea504b8512fdc682afa9a Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 18:09:08 +0200 Subject: [PATCH 02/11] Fixed aptfile --- Aptfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aptfile b/Aptfile index 6da7d4b..0fd65f6 100644 --- a/Aptfile +++ b/Aptfile @@ -1,4 +1,4 @@ -qmake +qt5-qmake git gcc g++ From 7a4b7d494823bf04a9fdf7843f07c4b8dc049c21 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 18:19:27 +0200 Subject: [PATCH 03/11] Updated aptfile again --- Aptfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Aptfile b/Aptfile index 0fd65f6..2fd2576 100644 --- a/Aptfile +++ b/Aptfile @@ -2,7 +2,6 @@ qt5-qmake git gcc g++ -cmake libjsoncpp-dev libjson-c-dev uuid-dev From f1ad40f1a10caf6802280779457a9f4e523fe2f1 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 18:33:28 +0200 Subject: [PATCH 04/11] Updated aptfile --- Aptfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Aptfile b/Aptfile index 2fd2576..761740f 100644 --- a/Aptfile +++ b/Aptfile @@ -1,7 +1,5 @@ qt5-qmake git -gcc -g++ libjsoncpp-dev libjson-c-dev uuid-dev From 2635c195538f59edf3ef2bb91352f6a4d03a2be8 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 18:57:52 +0200 Subject: [PATCH 05/11] Updated aptfile... --- Aptfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Aptfile b/Aptfile index 761740f..2b68c79 100644 --- a/Aptfile +++ b/Aptfile @@ -1,6 +1,7 @@ qt5-qmake git libjsoncpp-dev +libjsoncpp1 libjson-c-dev uuid-dev openssl From a21b2834011efe5edb2708d35b49a151d941e2ad Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 19:39:47 +0200 Subject: [PATCH 06/11] Deleted aptfile --- Aptfile | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 Aptfile diff --git a/Aptfile b/Aptfile deleted file mode 100644 index 2b68c79..0000000 --- a/Aptfile +++ /dev/null @@ -1,10 +0,0 @@ -qt5-qmake -git -libjsoncpp-dev -libjsoncpp1 -libjson-c-dev -uuid-dev -openssl -libssl-dev -zlib1g-dev - From 24a92fa943f24ffde689c118127c623c9d1fa884 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 17:42:29 +0000 Subject: [PATCH 07/11] Add README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ffdc80 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +https://commsyapi.home.tuxifan.cf/fetchList?url=&sid=&room=&startId=[ID before the first ID to list]&maxPosts=[maximum amount of posts to load] \ No newline at end of file From 2d96b90dcb514d479471ed800fab4e4670d0984e Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 17:43:08 +0000 Subject: [PATCH 08/11] README.md -> .txt --- README.md => README.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README.md => README.txt (100%) diff --git a/README.md b/README.txt similarity index 100% rename from README.md rename to README.txt From 2a19e2c5a08da69b477933ad553e7377c777e11c Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 17:49:48 +0000 Subject: [PATCH 09/11] Update README.txt --- README.md | 15 +++++++++++++++ README.txt | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 README.md delete mode 100644 README.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..eb52f93 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +### Commsy REST API +Provides a REST API to commsy servers via libcommsy + +## Example server +`https://commsyapi.home.tuxifan.cf` + +Endpoints: + +# `/fetchList` +GET parameters: + * url: URL to the commsy server (startpage) + * sid: SID to authenticate with + * room: room to load + * startId: ID before the first ID to list (optional, default: start with first post) + * maxPosts: maximum amount of posts to load \ No newline at end of file diff --git a/README.txt b/README.txt deleted file mode 100644 index 7ffdc80..0000000 --- a/README.txt +++ /dev/null @@ -1 +0,0 @@ -https://commsyapi.home.tuxifan.cf/fetchList?url=&sid=&room=&startId=[ID before the first ID to list]&maxPosts=[maximum amount of posts to load] \ No newline at end of file From d0a2faf0de11bcd0fda77c21beb125bf9013ec11 Mon Sep 17 00:00:00 2001 From: niansa Date: Wed, 16 Sep 2020 17:50:32 +0000 Subject: [PATCH 10/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb52f93..07aeaac 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Endpoints: # `/fetchList` GET parameters: - * url: URL to the commsy server (startpage) + * url: URL to the commsy server (start page) * sid: SID to authenticate with * room: room to load * startId: ID before the first ID to list (optional, default: start with first post) From e16e23e1b861f644fa27ff1978d2172870111835 Mon Sep 17 00:00:00 2001 From: niansa Date: Thu, 17 Sep 2020 07:05:04 +0000 Subject: [PATCH 11/11] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07aeaac..4fc0d55 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ Provides a REST API to commsy servers via libcommsy ## Example server -`https://commsyapi.home.tuxifan.cf` +`https://apis.home.tuxifan.cf/commsy/` Endpoints: -# `/fetchList` +# `fetchList` GET parameters: * url: URL to the commsy server (start page) * sid: SID to authenticate with