sameerchoubey
048ec39824
tools/test-api: Test Client.update_stream.
2019-04-25 16:24:59 -02:30
sameerchoubey
6790c22d8d
tools/test-api: Test Client.update_presence.
2019-04-25 16:24:59 -02:30
sameerchoubey
598727f696
tools/test-api: Test Client.update_notification_settings.
2019-04-25 16:24:59 -02:30
sameerchoubey
cedce30d99
tools/test-api: Test Client.update_user_group_members.
2019-04-25 16:24:59 -02:30
sameerchoubey
3140aabbd7
tools/test-api: Test Client.remove_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
49e843cd75
tools/test-api: Test Client.update_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
2c675efbba
tools/test-api: Test Client.create_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
53b58d0c7f
tools/test-api: Test Client.remove_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
c5c2c13880
tools/test-api: Test Client.add_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
b26b4ce60c
tools/test-api: Test Client.get_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
2d9b54f0d5
tools/test-api: Test Client.delete_stream.
2019-04-25 16:24:59 -02:30
sameerchoubey
56ad6758f6
tools/test-api: Test Client.remove_reaction.
2019-04-25 16:24:59 -02:30
neiljp (Neil Pilgrim)
1348c8fd05
requirements: Upgrade mypy to 0.670.
...
Requires minor adjustment for accented 'i' in variable name.
2019-04-16 17:50:12 -07:00
Eeshan Garg
0500639d01
api_tests: Test zulip.Client.add_reaction.
2019-02-18 10:24:13 -08:00
Anders Kaseorg
f0ecb93515
zerver core: Remove unused imports.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-02 17:41:24 -08:00
Roger Souza
69da22d998
api docs: Document the custom emoji upload endpoint.
...
Tweaked by tabbott to fix some English phrasing and make the file
pointer thing require less Python knowledge.
Fixes : #10746 .
2018-12-14 14:19:28 -08:00
Steve Howell
b666a6bd6c
subject -> topic: Fix most of api_test_helpers.
...
We don't want to change anything that can end
up in docs yet, but for test setup, we can switch
to topic_name.
2018-11-14 23:24:06 -08:00
Roman Godov
aa3682f9fc
api: Add GET /user_groups documentation.
...
This documents our GET endpoint for interacting with Zulip's user
groups feature.
Fixes #10298 .
2018-11-08 22:19:30 -08:00
Rishi Gupta
1c264dedc5
api docs: Change Shakespeare quote.
...
The previous quote doesn't come off well if you don't know the reference
(which the majority of our users will not).
2018-10-22 15:44:36 -07:00
Yago González
3eeec94d03
api docs: Document the POST /users/me/subscriptions/properties endpoint.
2018-10-16 12:38:27 -07:00
Yago González
3d2b3f8fa4
api docs: Document the POST /messages/flags endpoint.
2018-10-16 12:19:24 -07:00
Yago González
7a4103eee6
api docs: Document POST /mark_(all|stream|topic)_as_read.
2018-10-16 12:12:05 -07:00
Yago González
3bdc8f9946
api: Document the GET /realm/emoji endpoint.
2018-10-16 11:51:48 -07:00
Yago González
7a7b507e86
api docs: Document DELETE /realm/filters/<filter_id>.
2018-10-16 11:51:48 -07:00
Yago González
a7c48acc8e
api docs: Document GET /realm/filters.
2018-10-16 11:51:48 -07:00
Yago González
ea10f5eb2c
api docs: Document GET /users/<email>/presence.
...
Tweaked by tabbott to describe more clearly what this is for.
2018-08-31 15:15:54 -07:00
Yago González
78f85ef960
api docs: Document the GET /messages/<message_id>/history endpoint.
2018-08-28 17:33:02 -07:00
Yago González
5c6f381f32
api docs: Document the DELETE /messages/<message_id> endpoint.
2018-08-28 17:26:49 -07:00
Yago González
9575f1b51f
api docs: Document the GET /messages/<message_id> endpoint.
2018-08-28 17:22:28 -07:00
Yago González
ab164ba740
api docs: Document the GET /messages endpoint.
2018-08-28 17:17:46 -07:00
Yago González
c36cf95dc8
api docs: Document GET /server_settings.
2018-08-27 17:45:50 -07:00
Yago González
54464feda7
api docs: Document the PATCH /users/me/subscriptions/muted_topics endpoint.
2018-08-26 23:10:21 -07:00
Yago González
e7c7b19507
api docs: Document POST /realm/filters.
2018-08-22 17:42:14 -07:00
Yago González
c70d051031
test-api: Add function for server & realm tests.
...
There are some endpoints that don't fall into the currently available
categories, so this new function will be used for calling the tests for
server and realm-related endpoints.
2018-08-22 17:19:09 -07:00
Yago González
aa5185fdf8
api docs: Document POST /typing.
2018-08-17 12:57:40 -07:00
Yago González
8d0cf3ebe5
api docs: Migrate POST /user_uploads to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
119b3c0bc4
api docs: Migrate DELETE /users/me/subscriptions to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
14c9277095
api docs: Migrate POST /users to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
936d8c32c0
test-api: Fix typo in message event types.
...
The event type for messages is "message", not "messages" as the test
(and hence the API docs Python example) reflected.
2018-08-02 15:54:41 -07:00
Yago González
2b8bb2ffc6
api docs: Migrate DELETE /events to OpenAPI.
2018-08-02 15:54:41 -07:00
Yago González
5631645d9f
api docs: Migrate /register to OpenAPI.
2018-08-02 15:54:41 -07:00
Yago González
db81726bcb
api docs: Use method from our Python bindings in the example.
...
One of the code examples for GET /users was using the raw call_endpoint
method from our Python bindings, rather than get_members, which has been
specifically designed to interact with this endpoint.
Now all the examples here use the appropiate method.
2018-07-26 15:34:31 -07:00
Yago González
40a21f6077
api docs: Migrate GET /users to OpenAPI.
2018-07-26 15:34:31 -07:00
Yago González
7c50f6cdd4
api docs: Migrate POST /messages/render to OpenAPI.
2018-07-26 15:34:31 -07:00
Yago González
57c2d8c72a
api docs: Migrate GET /get_stream_id to OpenAPI.
2018-07-26 15:34:31 -07:00
Yago González
679319a735
api docs: Migrate GET /streams to OpenAPI.
2018-07-26 15:34:31 -07:00
Yago González
7ddc6e8d10
api docs: Migrate POST /messages to OpenAPI.
2018-07-26 10:24:01 -07:00
Yago González
cb24756edc
api docs: Merge docs for sending stream and private messages.
2018-07-26 10:24:01 -07:00
Yago González
fa1a695e08
test-api: Fix broken check for get_members.
...
The tests for GET /users were looking for a specific user, asuming that
it would always be in the same position. Since the users' sorting isn't
guaranteed in any way, this can lead to errors in the tests.
Now we make sure the user we grab from the list is the one we need by
checking its email address.
This is just a hotfix that addresses the short-term problem: we have
already made some efforts to make sure these tests are more
deterministic, and now we only need to finish the migration of the old
enpoints to the new system as a long-term solution.
2018-07-12 18:54:06 +05:30
Yago González
a3d42d9901
test-api: Pass non-admin client to the test helpers.
2018-07-11 23:54:00 +05:30