New "Get Source App API" returns Not Found if App has appCenterEnabled = false

What problem are you observing?

I think I may have found a bug with the new GET /source-apps/{id} API. It appears that if the app has appCenterEnabled = false, GET /source-apps/{id} will return an HTTP 404 Not Found. If appCenterEnabled is set back to true the GET /source-apps/{id} call will successfully return the app JSON.

What is the correct behavior?

The API should return the app (if it exists) regardless of attribute value settings

What product feature is this related to?

GET /source-apps/{id} API in both Beta and v2024 API versions

What are the steps to reproduce the issue?

  1. Create an app (POST /source-apps)
  2. Get the app (GET /source-apps/{id}) → app is returned
  3. Update appCenterEnabled = false (PATCH /source-apps/{id})
  4. Get the app (GET /source-apps/{id}) → FAILS. HTTP 404 app not found
  5. Update appCenterEnabled = true (PATCH /source-apps/{id})
  6. Get the app (GET /source-apps/{id}) → app is returned

Do you have any other information about your environment that may help?

Workaround is to use the “List Apps” API (GET /source-apps/all) and filter on id