Commit Graph

135 Commits

Author SHA1 Message Date
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
178inaba 40fcc558cc Add query parameters to followers (#89)
* Add query parameters to followers

* Fix followers API description
2017-04-19 18:42:12 +02:00
178inaba 1aabe579d6 Fix follow requests API (#88) 2017-04-19 18:41:02 +02:00
Mitchell Schwitzer 6557719aab Update API.md (#95)
add scaladon to listings of api impls
2017-04-19 18:35:28 +02:00
Kirschn 070b17b06e Add mastodon.js (#84)
Add mastodon.js as a Browser JS lib
2017-04-18 16:12:50 +02:00
178inaba 1e2708d3b2 Revert follow_requests api form data description 2017-04-17 00:28:39 +09:00
178inaba 44651798fc Fix follow_requests api path interface 2017-04-16 22:32:35 +09:00
Christopher Su bb44bc787b Add client library for Go to API.md (#59) 2017-04-16 11:59:05 +02:00
José Joaquín Atria 92d17be27b Link to Perl library (#40) 2017-04-15 21:39:54 +02:00
Ornithologist Coder 04bb0e65d6 Adds MastodonKit for Swift (#51) 2017-04-15 19:10:26 +02:00
Go Shoemake 0909e703a6 API documentation fix for blocking/muting (#50)
This is the same error as in 218a1a2444, originally fixed by 581d62ea77 but (accidentally?) reverted by eebeee2b76
2017-04-15 12:13:29 +02:00
178inaba ccd073b686 Fix account entities (#39)
* Add static image to account entities
2017-04-15 01:25:04 +02:00
178inaba cc4a908529 Add id to Relationship (#38) 2017-04-15 01:23:43 +02:00
Eugen 8367c21652 Merge pull request #30 from Aaronepower/patch-1
Added Rust to list of API libraries.
2017-04-14 13:28:09 +02:00
178inaba fbd6709a2c Fix follow unfollow return target 2017-04-14 19:15:17 +09:00
178inaba 218a1a2444 Fix follow and unfollow api method 2017-04-14 18:31:01 +09:00
Aaron Power 0f37c28be3 Added Rust to list of API libraries. 2017-04-13 20:12:48 +01:00
ThomasChln a1b758dfd8 Update API.md 2017-04-13 16:18:43 +02:00
Eugen Rochko eebeee2b76 Up-to-date dump from main repository 2017-04-11 17:48:27 +02:00
Yann 581d62ea77 Correct API accounts actions http method 2017-04-10 22:03:47 +02:00
Milton Mazzarri 665f6ab707 Add reference to Elixir client for Mastodon API 2017-04-08 02:48:52 -05:00
Eugen 26d688cd80 Fix API method URL typo 2017-04-05 10:25:05 +02:00
Kibigo! 569b6494b7 "direct" in statuses#create 2017-04-03 01:23:37 -07:00
Kibigo! 33673b0ee0 Forgot `direct` statuses :P 2017-04-02 22:46:10 -07:00
Kibigo! 95993397fe Typofixes 2017-04-02 21:17:07 -07:00
Kibigo! 98d2f84675 Code now code 2017-04-02 21:13:15 -07:00
Kibigo! 81c56f111a Updated API docs 2017-04-02 21:03:49 -07:00
Alex Gleason e2e2e123bf Put line breaks between API methods in docs 2017-03-31 14:55:08 -04:00
Eugen Rochko c618b153be Fix #525 - Add instance information API 2017-03-15 23:12:48 +01:00
Eugen 0989cb79ff Merge branch 'master' into mastodon-site-api 2017-03-15 22:55:22 +01:00
Eugen Rochko 6389273247 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
Redirect /:username to /users/:username
Redirect /:username/:id to /users/:username/updates/:id
Updated API documentation and sponsors
2017-03-05 17:27:17 +01:00
Kibigo c00bfd1972 Adds site metadata access to the API 2017-02-27 04:06:25 -08:00
Eugen Rochko 741335cc0e Removing failed push notification API, make context loads use cache 2017-02-05 17:51:44 +01:00
Eugen Rochko e26dcda6e7 Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
2017-02-02 00:03:31 +01:00
Eugen 4de3c8bfb6 Update some API docs 2017-01-29 14:40:57 +01:00
Eugen Rochko cba748ba85 Update docs with information about push notifications 2017-01-29 12:53:50 +01:00
Christian Walde 9b88ac0a27 clarify the intended use of the oauth api call as per this issue:
https://github.com/alin-rautoiu/mastodroid/issues/23
2017-01-25 18:31:15 +01:00
Eugen Rochko 05f3dcf7f5 Improve API docs formatting 2017-01-21 22:53:02 +01:00
Eugen Rochko 2eb6ed093f Add wiki contents to docs/ instead 2017-01-21 22:51:02 +01:00