You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
* Add REST API for creating an account

The method is available to apps with a token obtained via the client
credentials grant. It creates a user and account records, as well as
an access token for the app that initiated the request. The user is
unconfirmed, and an e-mail is sent as usual.

The method returns the access token, which the app should save for
later. The REST API is not available to users with unconfirmed
accounts, so the app must be smart to wait for the user to click a
link in their e-mail inbox.

The method is rate-limited by IP to 5 requests per 30 minutes.

* Redirect users back to app from confirmation if they were created with an app

* Add tests

* Return 403 on the method if registrations are not open

* Require agreement param to be true in the API when creating an account
6 years ago
..
controllers Add REST API for creating an account (#9572) 6 years ago
fabricators Add REST API for creating an account (#9572) 6 years ago
features rubocop issues - Cleaning up (#8912) 6 years ago
fixtures Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 6 years ago
helpers Add specs for Admin::AccountModerationNotesHelper (#9455) 6 years ago
lib Fix connect timeout not being enforced (#9329) 6 years ago
mailers Add moderation warnings (#9519) 6 years ago
models Add REST API for creating an account (#9572) 6 years ago
policies Add specs for ReportNotePolicy (#9592) 6 years ago
presenters Add specs for InstancePresenter (#9596) 6 years ago
requests Use raw status code on have_http_status (#7214) 7 years ago
routing
services Add REST API for creating an account (#9572) 6 years ago
support
validators Improve e-mail MX validator and add tests (#9489) 6 years ago
views Replace SVG asset with Custom mascot (#8766) 6 years ago
workers Lists (#5703) 7 years ago
rails_helper.rb rubocop issues - Cleaning up (#8912) 6 years ago
spec_helper.rb Disable simplecov on CircleCI (#7416) 7 years ago