From ac6a370f6dc931f7fe418c235e87813a095b85d9 Mon Sep 17 00:00:00 2001 From: PC-Admin Date: Wed, 16 Aug 2023 04:34:02 +0800 Subject: [PATCH] update proposed spec to contain an auth token --- technical_spec.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/technical_spec.md b/technical_spec.md index 74575c5..df9367c 100644 --- a/technical_spec.md +++ b/technical_spec.md @@ -81,7 +81,9 @@ All documented endpoints require a bearer token supplied in the `Authorization` The `abuse_lookup` endpoint returns if the supplied `room_id` is reported to contain a filtered tag in Redlight List. The endpoint will return either `200 OK` to signify a match or `204 No Content` to signify no match. -- `room_id_hash:` String. A valid Room ID that has been hashed twice with sha256 +- `room_id_hash:` String. A valid Room ID that has been hashed twice with sha256. +- `user_id_hash:` String. A valid User ID that has been hashed twice with sha256. +- `api_token:` String. A 40 digit alphanumeric token used for endpoint authentication. ```js {