Commit Graph

128 Commits

Author SHA1 Message Date
Eugen Rochko fde17f034a
Update API docs in preparation for 2.3.0 (#563) 2018-03-09 13:30:07 +01:00
tastytea 8befaa0cd5 Add mastodon-cpp to list of libraries (#546) 2018-02-21 19:34:18 +01:00
Thomas 461a176035 Adds following parameter in /accounts/search (#518)
`following` parameter allows to search users for adding them to a list.
2018-01-13 19:07:54 +01:00
Ornithologist Coder cc78b4a90c Fixes typo (Lists -> List) (#510) 2018-01-02 20:07:28 +01:00
Ornithologist Coder ab91b5b072 Moves List and Lists around (#509)
* Moves List and Lists around

to keep methods and entities sorted alphabetically.

* Updates Lists descriptions
2018-01-02 19:41:31 +01:00
Ornithologist Coder a02f68e765 Moves Custom Emojis do Instances (#507)
* Moves Emojis to own section

Since they're not part of the `/api/v1/status*` family.

* Moves to Custom Emojis to Instances
2018-01-01 20:37:21 +01:00
Ornithologist Coder 615aba5697 Updates Status.emojis information (#508)
`emojis` is not nullable. Instead, it returns an empty array
when no emojis are used.

```
"emojis": []
```
2018-01-01 20:36:59 +01:00
nightpool 996878c5be add description of form-data uploades (#496)
this glosses over the use of data or external uris with paperclip because it's kind of complicated and I don't have the best handle on the edge-cases, but I can take a look at that if it seems useful.
2017-12-22 14:34:12 +01:00
s e8ba704983 Update API.md with some missing response fields (#495)
* Update API.md with some missing response fields

* A few additional clarifications in API.md
2017-12-22 00:14:45 -06:00
Thomas c4652e6193 Update API.md (#490)
Update Relationship entity with the attribute "muting_notifications"
2017-12-17 15:08:30 +01:00
Thomas 152d4045f2 Update API.md (#489)
Update mute call with the parameter 'notifications'
2017-12-17 15:08:21 +01:00
Thomas 8cd6b13533 Update API.md (#488)
Replace the attribute "moved_to_account" by "moved" in the entity Account
2017-12-17 15:07:59 +01:00
Lorenz Diener 9b09bdf9f8 Fix /api/v1/accounts/:id/lists docs (#484) 2017-12-13 20:34:31 +01:00
Eugen Rochko 4b8f6e1726
Update API.md 2017-12-13 15:43:16 +01:00
Eugen Rochko 6b3455ecf6
Add list endpoint 2017-12-13 15:18:53 +01:00
Eugen Rochko 4bb149c73f
Add information about new APIs in 2.1 2017-12-13 15:12:12 +01:00
Eugen Rochko 35eba251d7
Update Tips-for-app-developers.md 2017-12-13 14:44:45 +01:00
Eugen Rochko b664972724
Update Push-notifications.md 2017-12-13 14:31:35 +01:00
Christophe Jossart 1f591f8154 Update PHP API wrapper from PR comment #458 (#483) 2017-12-11 23:03:30 +01:00
Thomas 2480655d4f Update API.md (#468)
Fetching custom emoji for an instance
2017-11-29 16:09:56 +01:00
Alex Schroeder e7e3e4a52f Document streaming URL for local statuses (#466)
See https://github.com/tootsuite/mastodon/issues/5839.
2017-11-28 21:50:37 +01:00
lambadalambda 63d7897f9b
Fix reblog documentation bug
Reblogging returns the reblog, not the target status.
2017-11-13 09:45:36 +01:00
roikale b798364d82 Document return value of updating credentials (#448) 2017-11-10 16:55:46 +01:00
Thomas d406335309 Update API.md (#444)
Adds methods to pin/unpin a status
2017-11-08 15:21:26 +01:00
Thomas 25205f4a42 Update API.md (#443)
Adds "pinned" parameter in GET /api/v1/accounts/:id/statuses
2017-11-08 15:21:02 +01:00
Thomas 7c05a8eee5 Update API.md (#442)
Updates "Fetching a user's notifications":
Introduces the array parameter "exclude_types" which allows to filter notifications by its types (ie: "follow", "favourite", "reblog", "mention")
2017-11-07 15:26:26 +01:00
moko256 a0f77af200 Add document of emoji 2017-10-20 23:51:22 +09:00
curi_u b94b4970ff Add tootnet to library list (#420) 2017-10-10 15:34:01 +02:00
Alex Schroeder cafdf092be Explain how to do OAuth in detail (#363)
Possibly fixes #271.
2017-09-21 04:23:24 +02:00
Akira 53f52cdddc Add reference to Array. (#370)
Array for query parameter is now used only for this method, and I missed this explanation.
So this link may be helpful.
2017-09-21 04:19:47 +02:00
Alex Schroeder 2c4c2abadc Clarify how sensitive and spoiler_text are related (#378) 2017-09-21 04:15:37 +02:00
Alex Schroeder cdb2316ec3 Clarify what domain_blocking means (#368) 2017-09-19 16:38:01 +02:00
Akira b9a2914e8d update API (#389)
* update API

Since #4833, /api/v1/reports.comment is limited to 1000 characters.

* Update API.md
2017-09-19 16:30:58 +02:00
L1am0 fbd87aa842 Update Libraries.md (#384) 2017-08-25 15:07:25 +02:00
stom79 5457849bac Update API.md (#359) 2017-07-30 12:53:07 +02:00
Eugen Rochko 4487f6017e Update API documentation
Fix #336 - Add conversation mute/unmute docs
2017-07-29 22:01:21 +02:00
Alex Schroeder a6e51236ba API.md: fix link to named anchor (#345)
Use #relationship instead of #relationships.
2017-07-25 16:47:29 +02:00
ティン・ルーフ 5f5292f5d3 don't encourage people to use base64 avatar and header image uploads
a potential resolution to tootsuite/mastodon#3804, achieved by not
encouraging people to use upload methods without filenames

my rationale for this being the right solution is that it brings it to
parity with the media upload method, which has already proven to be
enough for library developers to understand. it should be enough that,
early in the docs, it says that 'When a file parameter is mentioned, a
form-encoded upload is expected.'

i wouldn't mind so much if the base64 upload method didn't expose such
an insidious bug, but even if it didn't, it seems reasonable to want to
encourage developers to upload all media in a consistent way
2017-06-18 13:28:46 +01:00
Lorenz Diener bc840e8f1c Add maintainer name and link to Mastodon.py 2017-06-15 21:12:38 +02:00
Moritz Manner 9c35223837 fixed typo in API documentation 2017-06-14 17:15:28 +02:00
happycoloredbanana 48e893e5a0 fix max_id description 2017-06-05 00:24:28 +03:00
Ornithologist Coder cefb4b2f4c Removes id parameter from documentation
`id` is neither a query item (GET) nor part of the body (POST), therefore should not be in the parameter table.
2017-06-02 17:08:59 +02:00
Eugen Rochko c7fc284a44 Revert documentation for unfinished feature 2017-06-02 14:00:28 +02:00
Eugen Rochko 8b5d2ba471 Fix API docs by adding missing attributes and methods, fix example
nginx config by removing overly specific configuration options
that confuse more than they help
2017-05-26 17:29:47 +02:00
Ornithologist Coder d7b090f0af Adds notifications/dismiss/:id (Fixes #265)
@Kimik0 noticed the endpoint was missing. Read more about it here #265
2017-05-25 17:46:01 +02:00
Eugen Rochko 998efd960a Merge pull request #264 from ornithocoder/patch-2
Adds language to Status
2017-05-25 14:24:14 +02:00
Ornithologist Coder 0854f0f365 Adds language to Status
Based on:

* #1772
* #3209
2017-05-25 10:31:17 +02:00
Ornithologist Coder 390f2a747f Reflects the latest API version
The API.md document should reflect the currently API version and, for the current version, Mastodon's version is always present. Therefore, the version attribute it's not nullable.
2017-05-25 09:04:29 +02:00
Michael Smith 2e99c08902 Document "mute boosts" functionality (#260) 2017-05-24 23:50:16 +02:00
Iván Sánchez Ortega f8793d9be7 Add mastodon-api nodejs library (#261) 2017-05-24 23:37:31 +02:00