Skip to content

confusing sunset header #561

Closed
Closed

Description

@arhimede

a GET call to https://api.dotkernel.net/
returns a sunset header

sunset: 2038-01-01
link: https://docs.dotkernel.org/api-documentation/v5/core-features/versioning;rel="sunset";type="text/html"

from a template leftover reading deprecationReason: 'Resource deprecation example.'.
Any client honouring Sunset sees the API root as deprecated. One attribute to delete.

Activity

  1. added this to the 7.2 milestone on Oct 7, 2026
  2. alexmerlin commented on Oct 8, 2026

    @alexmerlin
    Member

    Yeah, I remember this and why it is there: #169 (comment)
    We argued a lot on why it's not a good idea to deprecate an endpoint we still use, not even "for demo purpose only", because it will confuse people and one day it might bite us.
    But, in the end, we deprecated it; @marioradu05 still has nightmares since he added those lines.

  3. linked a pull request that will close this issueIsue #561: Removed confusing sunset header #565on Oct 8, 2026
  4. added a commit that references this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions