Commit Graph

88 Commits

Author SHA1 Message Date
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
Mikael Berthe 166ffa23e6 Add Golang library (#179) 2017-05-01 16:37:55 +02:00
happycoloredbanana 00103cbf95 Mark all APIs that do not require authentication (#142) 2017-04-27 11:15:33 +02:00
Eugen Rochko 8048ec966e Merge branch 'master' into master 2017-04-25 17:00:23 +02:00
Decors 734885cb57 Add a Crystal library 2017-04-25 22:57:06 +09:00
Yusuke Yamada 4c66280f11 Merge branch 'master' into master 2017-04-25 15:15:02 +09:00
Ryo Okubo 078d90f5ad Add a Haskell lib 2017-04-24 23:14:25 +09:00
Yusuke Yamada ddabbcc914 Add library C#
I made library
2017-04-24 09:24:34 +09:00
Eugen 05ec8112af Merge branch 'master' into patch-1 2017-04-23 05:53:21 +02:00
Eugen b2e03c18f9 Merge pull request #138 from expenses/patch-1
Add documentation for /api/v1/notifications/dismiss
2017-04-23 05:52:59 +02:00
Eugen 8dcc19f5d3 Merge pull request #105 from 178inaba/max_since_limit
Add max_id, since_id, limit to API
2017-04-23 05:52:12 +02:00
Ashley 7062b20dbc Add documentation for /api/v1/notifications/dismiss 2017-04-23 15:47:29 +12:00
gomi_ningen 80a74c3199 Added available library for C# 2017-04-23 07:29:31 +09:00
Tlaster c3ae1cf903 Add .Net wrapper to the list of libraries 2017-04-22 20:06:59 +08:00
Toshihiro Yagi 12e05c9d96 Update API.md
I implemented mastodon4j for Java, Kotlin. 😄
2017-04-22 17:11:25 +09:00
178inaba a9ab3729a0 Add max_id, since_id, limit to API 2017-04-20 02:16:57 +09:00