To add on to Tony's discovery: This is a clear example of using the API directly vs. using the CLI commands. With the CLI, I can run `snap get core` or `snap get system` and I am provided the same results. This means that the CLI must be doing some translation of the name `core` to `system` in some case.
However, when using the API directly through `curl`, as performed above, we see that the results of the API call changed between 2.34.x and 2.35. I would expect these kind of changes to occur in a major revision to the API as it is essentially a breaking change. The results of the API call changed between minor revisions. I'm advocating for the use of semantic versioning here. I'm not sure if that is Canonical's practice, but minor version changes should not introduce backwards incompatible changes. In this case, a backwards incompatible change was introduced. While Rigado has worked around the issue, I do think the right course of action is to revert this change to the API when following the semantic versioning philosophy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791814 Title: [2.35.1] /v2/interfaces returns "system" instead of "core" as owning snap of core interface slots To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1791814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs