Skip to content

Heads up: Recognize WebDAV API is changing #3200

@marcelklehr

Description

@marcelklehr

Hello 👋

The photos app uses the recognize WebDAV API for displaying the recognized face clusters in the UI. Due to the EU AI Act, we have to limit access to this API and have opted for the following change, starting with Nextcloud 33:

  • Every Nextcloud App that wants to use the Recognize WebDAV API needs to generate an API key in the PHP backend by using the following method: OCA\Recognize\Public\ApiKeyManager#generateApiKey():string throws \JsonException
  • When sending WebDAV requests to the Recognize WebDAV API, this key must be set as X-Recognize-Api-Key header. Each generated key is valid for one day. I recommend using initial state to send the API key to the client.

Thank you for your cooperation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions