diff --git a/gitter-api-wadl.xml b/gitter-api-wadl.xml new file mode 100644 index 0000000..7fd4033 --- /dev/null +++ b/gitter-api-wadl.xml @@ -0,0 +1,944 @@ + + + + + + + + Request content type + + + Response accepted type + + + + + + Groups Resource + + + List + groups the current user is in. + + + Show only the rooms admin of. + + + + + + + Request content type + + + Response accepted type + + + Group ID - get by querying `/groups` + + + + + + Groups Resource + + + List of rooms nested under the specified group. + + + + + + + + Request content type + + + Response accepted type + + + + + + Rooms Resource + + + List + rooms the current user is in or list rooms matching search query. + + + Search query for rooms across Gitter. + + + Limit the number of results while querying. (constrained to 100 or + less) + + + + + + + + Rooms Resource + + + Show + room info + + + + + + + + + + + + + + Request content type + + + Response accepted type + + + User ID maybe retrieved using `/user/me`. + + + + + + Rooms Resource + User Resource + + + Join + a room by ID. ID maybe retrieved using show room info using `/rooms`. + + + + + + + + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + List of + Users currently in the room. Room ID maybe retrieved using show room info using + `/rooms`. + + + Search query for a room user. + + + Skip n users. + + + Maximum number of users to return. (constrained to 100 or less) + + + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + User + ID maybe retrieved using `/user/me` for self or `/users/{username}` for another + user. + + + + + + Rooms Resource + + + Remove a user from room. Room ID maybe retrieved using show room info using + `/rooms`. User ID maybe retrieved using `/user/me` for self or + `/users/{username}` for another user. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + + Update Room topic/search engine index/tags selectively. Room ID maybe retrieved + using show room info using `/rooms`. + + + + + + + + + + + + + Rooms Resource + + + + Delete a room by ID. Room ID maybe retrieved using show room info using + `/rooms`. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + Show room issue + suggestions. Room ID maybe retrieved using show room info using `/rooms`. + + + Show a particular issue number. + + + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + List of banned + users. Room ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + Ban a user. Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + + + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + Username to unban. + + + + + + Rooms Resource + + + Unban a user. + Room ID maybe retrieved using show room info using `/rooms`. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + + Rooms Resource + + + List of + collaborators of the organisation. Room ID maybe retrieved using show room info + using `/rooms`. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + Show suggested + rooms related to the given room ID. Room ID maybe retrieved using show room info + using `/rooms`. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + List detailed + room events. Room ID maybe retrieved using show room info using `/rooms`. + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Rooms Resource + + + Show welcome + message of the room. Room ID maybe retrieved using show room info using + `/rooms`. + + + + + + Rooms Resource + + + Modify welcome + message of the room. Room ID maybe retrieved using show room info using + `/rooms`. + + + + + + + + + + + + + + Request content type + + + Response accepted type + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + Messages Resource + Rooms Resource + + + + List of messages in a room. Room ID maybe retrieved using show room info using + `/rooms`. + + + Skip n messages (constrained to 5000 or less). + + + Get messages before `beforeId`. + + + Get messages after `afterId`. + + + Get messages around `aroundId` including this message. + + + Maximum number of messages to return (constrained to 100 or less) + + + Search query for text in message. Use from:@username to limit the + result to messages send by the given username. + + + Language code. Language of the query. + + + Show plain objects if `true` (performant) else show full + document. + + + + + + + + Messages Resource + Rooms Resource + + + + Send a message to a room. Room ID maybe retrieved using show room info using + `/rooms`. + + + + + + + + + + + + + Request content type + + + Response accepted type + + + Room ID maybe retrieved using show room info using `/rooms`. + + + Message ID maybe retrieved using get room messages using + `/rooms/{room_id}/chatMessages`. + + + + + + Messages Resource + Rooms Resource + + + Get message info in a room. Room ID maybe retrieved using show room info using + `/rooms`. Message ID maybe retrieved using get room messages using + `/rooms/{room_id}/chatMessages`. + + + + + + Messages Resource + Rooms Resource + + + Update a message. Use text="" (empty string) to mark message as deleted in + gitter client. Room ID maybe retrieved using show room info using `/rooms`. + Message ID maybe retrieved using get room messages using + `/rooms/{room_id}/chatMessages`. + + + + + + + + + + + + + + + Request content type + + + Response accepted type + + + User ID maybe retrieved using `/user/me`. + + + + + + User Resource + Rooms Resource + + + List of + Rooms the user is part of. + + + + + + Request content type + + + Response accepted type + + + User ID maybe retrieved using `/user/me`. + + + Room + ID maybe retrieved using show room info using `/rooms`. + + + + + + User Resource + Rooms Resource + Messages Resource + + + List + of unread message IDs. + + + + + + User Resource + Rooms Resource + Messages Resource + + + Mark chat messages as read. + + + + + + + + + + + + + Request content type + + + Response accepted type + + + User ID maybe retrieved using `/user/me`. + + + + + + User Resource + + + List of the + user's GitHub Organisations and their respective Room if available. + + + + + + Request content type + + + Response accepted type + + + User ID maybe retrieved using `/user/me`. + + + + + + User Resource + + + List of the + user's GitHub Repositories and their respective Room if available.. + + + Search query for finding repositories. + + + Limit the number of results. (constrained to 100 or less) + + + + + + + + Request content type + + + Response accepted type + + + + + + User Resource + + + Get current authenticated user. + + + Search query a username. + + + Limit the number of results. (constrained to 130 or less) + + + Skip n results + + + + + + + + Request content type + + + Response accepted type + + + + + + User Resource + + + Get information + about current authenticated user. + + + + + +