Commit Graph

103 Commits

Author SHA1 Message Date
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 4bb149c73f
Add information about new APIs in 2.1 2017-12-13 15:12:12 +01:00
Thomas 2480655d4f Update API.md (#468)
Fetching custom emoji for an instance
2017-11-29 16:09:56 +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
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
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
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
happycoloredbanana 82bd43c03d Fix optionality of resolve 2017-05-20 11:31:40 +03:00
Ornithologist Coder 9210f6de9f Moves libraries to a separate file (#229) 2017-05-10 23:35:12 -07:00
Valerii Hiora 7dfe07e07c Fixed nullability for `Attachment.text_url` (#238)
`text_url` can be `null` for remote images
2017-05-10 15:34:52 +02:00
Ornithologist Coder 87550bdc7c Changes on ruby arrays as parameters (#226) 2017-05-09 14:14:33 +02:00
Ornithologist Coder 08eb89f04b Adds nullability description to Entities section (#227)
* Adds nullability description to Entities section

* fix typo
2017-05-09 10:00:01 +02:00
Ornithologist Coder fb31b2a7c5 s/Javascript/JavaScript/g (#225) 2017-05-09 00:46:56 -07:00
Ornithologist Coder 1591adb863 Adds nullability information to entities (#189)
It helps developers building applications and libraries.
2017-05-08 17:45:42 -07:00
Aaron Power 9e88129b92 Added mastodon account to Mammut (#191) 2017-05-08 14:30:52 -07:00
José Joaquín Atria f8578d5085 Link to developer contact of Perl library 2017-05-08 00:55:40 +01:00
Ornithologist Coder 4cc2dba359 Merge branch 'master' into patch-3 2017-05-07 18:19:52 +02:00
Darius Kazemi d1d4532296 Add PHP API Libraries (#197)
This should resolve issue #79. I've included all 4 PHP libraries
mentioned in that issue, per the conversation in PR #150.
2017-05-07 12:44:18 +02:00
Ornithologist Coder c57191a360 Merge branch 'master' into patch-3 2017-05-07 09:45:52 +02:00
Eugen Rochko 223ab10a15 Merge pull request #198 from tzmfreedom/add_apex_salesforce_library
Add apex salesforce library
2017-05-07 00:42:55 +02:00
tzmfreedom a747b23a21 Add apex salesforce library 2017-05-03 14:40:18 +09:00
Alex Schroeder b6de33484d Fix various instances of "Maximum number of"
The text always specified "Maximum number of accounts" instead of
naming the object that was actually being retrieved such as statuses
or blocks.
2017-05-01 23:13:04 +02:00
Ornithologist Coder 014ec91ba3 Reformates all tables
Because of my OCD.
2017-05-01 20:01:32 +02:00
Ornithologist Coder cda33062e8 Adds tables for form data and query parameters
And adds a new column to make explicit which parameters are required and which are optional.
2017-05-01 19:13:17 +02:00
wxcafé fed4ab2d3a fix typo in link to mastonet 2017-05-01 17:16:01 +02:00
Guillaume Lacasa 7e994bf4ad Added .NET Standard library (#157) 2017-05-01 17:07:47 +02:00
Ornithologist Coder abe6929d8b Adds table for libraries (#182)
This commit changes the list of available libraries to a table, similar to the one used for the list of apps in documentation/Apps.md. Soon more libraries for the same language will appear and a table will handle it better. It also sorts the libraries in ascending order (case insensitive) by language.
2017-05-01 16:41:05 +02:00