解析 REST API 中的 X-Parse-REST-API-Key 是什么?

What is the X-Parse-REST-API-Key in parse REST API?

我正在尝试在 heroku 上托管开源解析服务器。

开源文档 (https://docs.parseplatform.org/rest/guide/#users) 说对于所有 REST APIs,应该有一个 X-Parse-REST-API-Key。

例如用户登录。

curl -X GET \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -H "X-Parse-Revocable-Session: 1" \
  -G \
  --data-urlencode 'username=cooldude6' \
  --data-urlencode 'password=p_n7!-e8' \
  https://api.parse.com/1/login

我不是很清楚REST-API-KEY是什么?事实上,APi 可以在没有 REST-API-KEY 的情况下工作:

curl -X GET \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-Revocable-Session: 1" \
  -G \
  --data-urlencode 'username=cooldude6' \
  --data-urlencode 'password=p_n7!-e8' \
  https://api.parse.com/1/login

这是文档中的错误还是我遗漏了什么?

开源文档已经过时了。此外,大多数事件现在不需要 REST API。在大多数情况下,您可以只使用 appID 和 Masterkey。