summaryrefslogtreecommitdiff
path: root/releasenotes/notes/optional_project_id-6aebf1cb394d498f.yaml
blob: 94fb1335e5568f76a3f6e5fbf3ee49d0e8f11ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
features:

  - Provides API 2.18, which makes the use of project_ids in API urls
    optional.

upgrade:

  - In order to make project_id optional in urls, we must constrain
    the set of allowed values for project_id in our urls. This
    defaults to a regex of ``[0-9a-f\-]+``, which will match hex uuids
    (with / without dashes), and integers. This covers all known
    project_id formats in the wild.

    If your site uses other values for project_id, you can set a site
    specific validation with ``project_id_regex`` config variable.