GET Space by ID API, has new undocumented fields

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The API https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-id-get has new fields such as "spaceOwnerId", which is not documented on the API documentation.

      Steps to Reproduce

      Send a request to https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-id-get

      Expected Results

      The documentation should always be updated with new fields, and/or old unused fields should be removed.

      Actual Results

      The documentation doesn't have the new field on the response example:

      {
        "id": "<string>",
        "key": "<string>",
        "name": "<string>",
        "type": "global",
        "status": "current",
        "authorId": "<string>",
        "createdAt": "<string>",
        "homepageId": "<string>",
        "description": {
          "plain": {},
          "view": {}
        },
        "icon": {
          "path": "<string>",
          "apiDownloadLink": "<string>"
        },
        "labels": {
          "results": [
            {
              "id": "<string>",
              "name": "<string>",
              "prefix": "<string>"
            }
          ],
          "meta": {
            "hasMore": true,
            "cursor": "<string>"
          },
          "_links": {
            "self": "<string>"
          }
        },
        "properties": {
          "results": [
            {
              "id": "<string>",
              "key": "<string>",
              "createdAt": "<string>",
              "createdBy": "<string>",
              "version": {
                "createdAt": "<string>",
                "createdBy": "<string>",
                "message": "<string>",
                "number": 44
              }
            }
          ],
          "meta": {
            "hasMore": true,
            "cursor": "<string>"
          },
          "_links": {
            "self": "<string>"
          }
        },
        "operations": {
          "results": [
            {
              "operation": "<string>",
              "targetType": "<string>"
            }
          ],
          "meta": {
            "hasMore": true,
            "cursor": "<string>"
          },
          "_links": {
            "self": "<string>"
          }
        },
        "permissions": {
          "results": [
            {
              "id": "<string>",
              "principal": {
                "type": "user",
                "id": "<string>"
              },
              "operation": {
                "key": "use",
                "targetType": "page"
              }
            }
          ],
          "meta": {
            "hasMore": true,
            "cursor": "<string>"
          },
          "_links": {
            "self": "<string>"
          }
        },
        "_links": {
          "base": "<string>"
        }
      }

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Pablo Machado
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: