-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from The-Commit-Company/develop
Release version 1.3.0
- Loading branch information
Showing
318 changed files
with
18,990 additions
and
9,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: Get Channel Members | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{url}}:{{port}}/api/method/raven.api.chat.get_channel_members?channel_id=general | ||
body: none | ||
auth: none | ||
} | ||
|
||
query { | ||
channel_id: general | ||
~channel_id: admin-private | ||
~channel_id: does-not-exist | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
meta { | ||
name: Get Preview Link | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{url}}:{{port}}/api/method/raven.api.preview_links.get_preview_link?urls=["https://ravenapp.info"] | ||
body: none | ||
auth: none | ||
} | ||
|
||
query { | ||
urls: ["https://ravenapp.info"] | ||
~urls: ["http://192.168.0.0"] | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
meta { | ||
name: Get List | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{url}}:{{port}}/api/method/raven.api.raven_users.get_list | ||
body: none | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
meta { | ||
name: React | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: {{url}}:{{port}}/api/method/raven.api.reactions.react?message_id=7a46635aff&reaction=🐶 | ||
body: none | ||
auth: none | ||
} | ||
|
||
query { | ||
message_id: 7a46635aff | ||
reaction: 🐶 | ||
~message_id: 4ba126d7ba | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} | ||
|
||
docs { | ||
API to toggle a reaction to a Message | ||
|
||
The API first checks if the user has permission for the message. If yes, then it checks if the user has already reacted to the message. If not, it creates a new reaction, else it deletes the existing reaction. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
meta { | ||
name: Get Active Users | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{url}}:{{port}}/api/method/raven.api.user_availability.get_active_users | ||
body: none | ||
auth: none | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
meta { | ||
name: Refresh User Active State | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
get { | ||
url: {{url}}:{{port}}/api/method/raven.api.user_availability.refresh_user_active_state | ||
body: none | ||
auth: none | ||
} | ||
|
||
query { | ||
~deactivate: true | ||
} | ||
|
||
headers { | ||
Authorization: token {{api_key}}:{{api_secret}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"version": "1", | ||
"name": "Raven", | ||
"type": "collection" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
vars { | ||
url: http://localhost | ||
port: 8000 | ||
api_key: d0e4a68bf14f25d | ||
} | ||
vars:secret [ | ||
api_secret | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.