wso2 / wso2/docs-apim

Mention the reason to always have an empty list for "attributes" field in the devportal GET /applications response

Open
#4,103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API-M-3.0.0 API-M-3.1.0 API-M-3.2.0 Docs/TW Priority/Normal Type/Improvement
Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

Description:
In [1], if you check the response, it will contain a field named "attributes".

image

Usually, this "attributes" field should contain the custom attributes which we configure for applications as mentioned in [2].

But actually, this "attributes" field will be empty all the time as shown below.

image

The reason for this is, it is costly to populate the attribute values per application when retrieving the applications as a list. We need to mention this somewhere in the docs.

Affected Product Version:
APIM 4.0.0
APIM 3.2.0
APIM 3.1.0
APIM 3.0.0

[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/devportal-apis/devportal-v1/devportal-v1/#tag/Applications/paths/~1applications/get
[2] https://apim.docs.wso2.com/en/3.2.0/learn/consume-api/manage-application/advanced-topics/add-custom-attributes-to-applications/#server-specific-configuration

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked Devportal v1 Applications GET documentation and the custom-attributes guidance first. Document that the GET applications list response keeps the attributes field empty because populating attribute values per application is costly, and verify the explanation is visible in the relevant documentation.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.