Skip to content

1491 documentation accessing data via rest api#1612

Open
phycodurus wants to merge 3 commits into
version-3-0-alphafrom
1491-documentation-accessing-data-via-rest-api
Open

1491 documentation accessing data via rest api#1612
phycodurus wants to merge 3 commits into
version-3-0-alphafrom
1491-documentation-accessing-data-via-rest-api

Conversation

@phycodurus

Copy link
Copy Markdown
Member

This adds a page of documentation for Accessing TOM data through the Django REST Framework API built into TOM Toolkit.

Additionally, it adds TokenAuthorization to the list of DEFAULT_AUTHENTICATION_CLASSES in the DRF settings.REST_FRAMEWORK configuration dictionary. and tests for that. This means token-auth works out-of-the-box.

Closes

DRF defaults to basic- and session-authentication.
You get both when there's no DEFAULT_AUTHENTICATION_CLASSES
specified. Here, we add token-authetication. That means
replacing the default by specifying all three (even though
token-auth is the only new one).
@phycodurus phycodurus requested review from jchate6 and rachel3834 July 11, 2026 01:23
@phycodurus phycodurus moved this to Needs Review in TOM Toolkit Jul 11, 2026
@jchate6 jchate6 linked an issue Jul 11, 2026 that may be closed by this pull request
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Documentation: Accessing TOM data through the REST API

1 participant