httpnet 0.9.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. httpnet-0.9.0/.gitignore +13 -0
  2. httpnet-0.9.0/LICENSE.txt +19 -0
  3. httpnet-0.9.0/PKG-INFO +151 -0
  4. httpnet-0.9.0/README.rst +125 -0
  5. httpnet-0.9.0/docs/_static/.gitkeep +0 -0
  6. httpnet-0.9.0/docs/conf.py +46 -0
  7. httpnet-0.9.0/docs/explanation/asynchronous-operations.rst +61 -0
  8. httpnet-0.9.0/docs/explanation/differences-to-the-documentation.rst +208 -0
  9. httpnet-0.9.0/docs/explanation/elements.rst +87 -0
  10. httpnet-0.9.0/docs/explanation/index.rst +15 -0
  11. httpnet-0.9.0/docs/explanation/service-classes.rst +75 -0
  12. httpnet-0.9.0/docs/explanation/the-api.rst +68 -0
  13. httpnet-0.9.0/docs/how-to/act-on-behalf-of-a-subaccount.rst +40 -0
  14. httpnet-0.9.0/docs/how-to/change-dns-records.rst +84 -0
  15. httpnet-0.9.0/docs/how-to/connect-to-hosting-de.rst +42 -0
  16. httpnet-0.9.0/docs/how-to/create-a-zone-from-a-template.rst +101 -0
  17. httpnet-0.9.0/docs/how-to/filter-and-sort-listings.rst +71 -0
  18. httpnet-0.9.0/docs/how-to/handle-errors.rst +101 -0
  19. httpnet-0.9.0/docs/how-to/handle-large-result-sets.rst +69 -0
  20. httpnet-0.9.0/docs/how-to/index.rst +19 -0
  21. httpnet-0.9.0/docs/how-to/schedule-a-domain-deletion.rst +77 -0
  22. httpnet-0.9.0/docs/how-to/set-a-timeout.rst +44 -0
  23. httpnet-0.9.0/docs/index.rst +55 -0
  24. httpnet-0.9.0/docs/reference/client.rst +68 -0
  25. httpnet-0.9.0/docs/reference/core.rst +63 -0
  26. httpnet-0.9.0/docs/reference/dns.rst +79 -0
  27. httpnet-0.9.0/docs/reference/domain.rst +92 -0
  28. httpnet-0.9.0/docs/reference/email.rst +51 -0
  29. httpnet-0.9.0/docs/reference/index.rst +39 -0
  30. httpnet-0.9.0/docs/tutorials/creating-a-dns-zone.rst +183 -0
  31. httpnet-0.9.0/docs/tutorials/getting-started.rst +224 -0
  32. httpnet-0.9.0/docs/tutorials/index.rst +15 -0
  33. httpnet-0.9.0/httpnet/__init__.py +0 -0
  34. httpnet-0.9.0/httpnet/_core.py +520 -0
  35. httpnet-0.9.0/httpnet/client.py +38 -0
  36. httpnet-0.9.0/httpnet/dns.py +324 -0
  37. httpnet-0.9.0/httpnet/domain.py +372 -0
  38. httpnet-0.9.0/httpnet/email.py +179 -0
  39. httpnet-0.9.0/pyproject.toml +100 -0
  40. httpnet-0.9.0/tests/apidata.py +159 -0
  41. httpnet-0.9.0/tests/conftest.py +45 -0
  42. httpnet-0.9.0/tests/test_api_examples.py +244 -0
  43. httpnet-0.9.0/tests/test_client.py +10 -0
  44. httpnet-0.9.0/tests/test_core.py +213 -0
  45. httpnet-0.9.0/tests/test_issues.py +179 -0
  46. httpnet-0.9.0/tests/test_models.py +149 -0
@@ -0,0 +1,13 @@
1
+ /venv/
2
+ /.venv/
3
+ __pycache__/
4
+ /dist/
5
+ /build/
6
+ *.egg-info/
7
+ /.pytest_cache/
8
+ /.ruff_cache/
9
+ /docs/_build/
10
+ /_readthedocs/
11
+
12
+ # IDE
13
+ /.idea/
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2019 Erich Seifert
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
httpnet-0.9.0/PKG-INFO ADDED
@@ -0,0 +1,151 @@
1
+ Metadata-Version: 2.5
2
+ Name: httpnet
3
+ Version: 0.9.0
4
+ Summary: http.net Partner API client
5
+ Project-URL: Homepage, https://github.com/eseifert/httpnet
6
+ Project-URL: Repository, https://github.com/eseifert/httpnet
7
+ Author-email: Erich Seifert <dev@erichseifert.de>
8
+ License-Expression: MIT
9
+ License-File: LICENSE.txt
10
+ Keywords: administration,dns,domain
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Topic :: System :: Systems Administration
22
+ Requires-Python: >=3.11
23
+ Requires-Dist: python-dateutil>=2.8.0
24
+ Requires-Dist: requests>=2.22.0
25
+ Description-Content-Type: text/x-rst
26
+
27
+ Description
28
+ ===========
29
+
30
+ This package provides an unofficial Python client for the
31
+ `Partner API <https://www.http.net/docs/api/>`__ of http.net Internet GmbH.
32
+ So far, ``v1`` of the API (the only existing version) is supported. The same
33
+ API is also used by `hosting.de <https://www.hosting.de/api/>`__.
34
+
35
+ The full documentation, consisting of tutorials, how-to guides, a reference and
36
+ background explanations, is built from the ``docs`` directory and can be
37
+ published on Read the Docs.
38
+
39
+
40
+ Disclaimer
41
+ ==========
42
+
43
+ This package is not related to http.net Internet GmbH.
44
+
45
+ The reading part of the API has been exercised against a live account: every
46
+ listing, every ``get`` and the availability check answer and convert correctly.
47
+ The writing part is covered by unit tests only and has not been tried against a
48
+ real account. Where the live API turned out to differ from its documentation,
49
+ the deviations are collected under `Where the API differs from its
50
+ documentation
51
+ <https://httpnet.readthedocs.io/en/latest/explanation/differences-to-the-documentation.html>`__.
52
+
53
+
54
+ Installation
55
+ ============
56
+
57
+ ``httpnet`` requires Python 3.11 or newer. Use the package manager
58
+ `pip <https://pip.pypa.io/en/stable/>`__ to install it:
59
+
60
+ .. code::
61
+
62
+ pip install git+https://github.com/eseifert/httpnet.git
63
+
64
+ or add it to a project managed by `uv <https://docs.astral.sh/uv/>`__:
65
+
66
+ .. code::
67
+
68
+ uv add git+https://github.com/eseifert/httpnet.git
69
+
70
+
71
+ Usage
72
+ =====
73
+
74
+ First, we need a client instance:
75
+
76
+ .. code::
77
+
78
+ >>> from httpnet.client import HttpNetClient
79
+ >>> AUTH_TOKEN = '<your auth token>'
80
+ >>> api = HttpNetClient(auth_token=AUTH_TOKEN)
81
+
82
+ http.net Internet GmbH operates the same API for
83
+ `hosting.de <https://www.hosting.de/api/>`__. To use it, pass the respective
84
+ platform:
85
+
86
+ .. code::
87
+
88
+ >>> from httpnet.client import HttpNetClient, Platform
89
+ >>> api = HttpNetClient(auth_token=AUTH_TOKEN, base_url=Platform.HOSTING_DE)
90
+
91
+ The client provides access to all service categories in the API. They can be
92
+ counted and are iterable:
93
+
94
+ .. code::
95
+
96
+ >>> len(api.domains)
97
+ 123
98
+ >>> for domain in api.dns_zones:
99
+ ... print(domain.zone_config.name)
100
+
101
+ Almost all services provide a common query interface. ``find`` returns an
102
+ iterator, ``count`` returns the number of matches without retrieving them:
103
+
104
+ .. code::
105
+
106
+ >>> from httpnet.domain import ContactType
107
+ >>> persons = api.domain_contacts.find(ContactType=str(ContactType.PERSON))
108
+ >>> next(persons).handle
109
+ 'JS15'
110
+ >>> api.domain_contacts.count(ContactType=str(ContactType.PERSON))
111
+ 42
112
+
113
+
114
+ Contributing
115
+ ============
116
+
117
+ Pull requests are always welcome. For major changes, please open an issue first
118
+ to discuss what you would like to change.
119
+
120
+ Please make sure to update tests as appropriate.
121
+
122
+ The project is developed with `uv <https://docs.astral.sh/uv/>`__. The development
123
+ and documentation dependencies require Python 3.11.5 or newer. To set up a
124
+ development environment and run the checks:
125
+
126
+ .. code::
127
+
128
+ uv sync # create the virtual environment
129
+ uv run pytest # run the test suite
130
+ uv run ruff check # lint
131
+ uv run ruff format # format
132
+ uv run ty check # type check
133
+
134
+ To build the documentation:
135
+
136
+ .. code::
137
+
138
+ uv run sphinx-build --builder html --fail-on-warning docs docs/_build/html
139
+
140
+
141
+ See the `release guide <https://github.com/eseifert/httpnet/blob/master/RELEASING.rst>`__
142
+ for PyPI publishing instructions.
143
+
144
+
145
+ License
146
+ =======
147
+
148
+ `MIT <https://choosealicense.com/licenses/mit/>`__
149
+
150
+ By submitting a pull request for this project, you agree to license your
151
+ contribution under the MIT license to this project.
@@ -0,0 +1,125 @@
1
+ Description
2
+ ===========
3
+
4
+ This package provides an unofficial Python client for the
5
+ `Partner API <https://www.http.net/docs/api/>`__ of http.net Internet GmbH.
6
+ So far, ``v1`` of the API (the only existing version) is supported. The same
7
+ API is also used by `hosting.de <https://www.hosting.de/api/>`__.
8
+
9
+ The full documentation, consisting of tutorials, how-to guides, a reference and
10
+ background explanations, is built from the ``docs`` directory and can be
11
+ published on Read the Docs.
12
+
13
+
14
+ Disclaimer
15
+ ==========
16
+
17
+ This package is not related to http.net Internet GmbH.
18
+
19
+ The reading part of the API has been exercised against a live account: every
20
+ listing, every ``get`` and the availability check answer and convert correctly.
21
+ The writing part is covered by unit tests only and has not been tried against a
22
+ real account. Where the live API turned out to differ from its documentation,
23
+ the deviations are collected under `Where the API differs from its
24
+ documentation
25
+ <https://httpnet.readthedocs.io/en/latest/explanation/differences-to-the-documentation.html>`__.
26
+
27
+
28
+ Installation
29
+ ============
30
+
31
+ ``httpnet`` requires Python 3.11 or newer. Use the package manager
32
+ `pip <https://pip.pypa.io/en/stable/>`__ to install it:
33
+
34
+ .. code::
35
+
36
+ pip install git+https://github.com/eseifert/httpnet.git
37
+
38
+ or add it to a project managed by `uv <https://docs.astral.sh/uv/>`__:
39
+
40
+ .. code::
41
+
42
+ uv add git+https://github.com/eseifert/httpnet.git
43
+
44
+
45
+ Usage
46
+ =====
47
+
48
+ First, we need a client instance:
49
+
50
+ .. code::
51
+
52
+ >>> from httpnet.client import HttpNetClient
53
+ >>> AUTH_TOKEN = '<your auth token>'
54
+ >>> api = HttpNetClient(auth_token=AUTH_TOKEN)
55
+
56
+ http.net Internet GmbH operates the same API for
57
+ `hosting.de <https://www.hosting.de/api/>`__. To use it, pass the respective
58
+ platform:
59
+
60
+ .. code::
61
+
62
+ >>> from httpnet.client import HttpNetClient, Platform
63
+ >>> api = HttpNetClient(auth_token=AUTH_TOKEN, base_url=Platform.HOSTING_DE)
64
+
65
+ The client provides access to all service categories in the API. They can be
66
+ counted and are iterable:
67
+
68
+ .. code::
69
+
70
+ >>> len(api.domains)
71
+ 123
72
+ >>> for domain in api.dns_zones:
73
+ ... print(domain.zone_config.name)
74
+
75
+ Almost all services provide a common query interface. ``find`` returns an
76
+ iterator, ``count`` returns the number of matches without retrieving them:
77
+
78
+ .. code::
79
+
80
+ >>> from httpnet.domain import ContactType
81
+ >>> persons = api.domain_contacts.find(ContactType=str(ContactType.PERSON))
82
+ >>> next(persons).handle
83
+ 'JS15'
84
+ >>> api.domain_contacts.count(ContactType=str(ContactType.PERSON))
85
+ 42
86
+
87
+
88
+ Contributing
89
+ ============
90
+
91
+ Pull requests are always welcome. For major changes, please open an issue first
92
+ to discuss what you would like to change.
93
+
94
+ Please make sure to update tests as appropriate.
95
+
96
+ The project is developed with `uv <https://docs.astral.sh/uv/>`__. The development
97
+ and documentation dependencies require Python 3.11.5 or newer. To set up a
98
+ development environment and run the checks:
99
+
100
+ .. code::
101
+
102
+ uv sync # create the virtual environment
103
+ uv run pytest # run the test suite
104
+ uv run ruff check # lint
105
+ uv run ruff format # format
106
+ uv run ty check # type check
107
+
108
+ To build the documentation:
109
+
110
+ .. code::
111
+
112
+ uv run sphinx-build --builder html --fail-on-warning docs docs/_build/html
113
+
114
+
115
+ See the `release guide <https://github.com/eseifert/httpnet/blob/master/RELEASING.rst>`__
116
+ for PyPI publishing instructions.
117
+
118
+
119
+ License
120
+ =======
121
+
122
+ `MIT <https://choosealicense.com/licenses/mit/>`__
123
+
124
+ By submitting a pull request for this project, you agree to license your
125
+ contribution under the MIT license to this project.
File without changes
@@ -0,0 +1,46 @@
1
+ from email.utils import parseaddr
2
+ from importlib.metadata import metadata
3
+
4
+ _metadata = metadata('httpnet')
5
+ # Authors declared in pyproject.toml end up in "Author-email" as "Name <mail>".
6
+ _author_name, _ = parseaddr(_metadata['Author-email'])
7
+
8
+ project = _metadata['Name']
9
+ author = _author_name
10
+ copyright = author
11
+ version = _metadata['Version']
12
+ release = version
13
+
14
+ extensions = [
15
+ 'sphinx.ext.autodoc',
16
+ 'sphinx.ext.intersphinx',
17
+ 'sphinx.ext.viewcode',
18
+ ]
19
+
20
+ templates_path = ['_templates']
21
+ exclude_patterns = ['_build']
22
+
23
+ # The API of the package is small enough to be presented in source order, which
24
+ # keeps the reference documentation aligned with the structure of the codebase.
25
+ autodoc_member_order = 'bysource'
26
+ autodoc_typehints = 'description'
27
+ autodoc_default_options = {
28
+ 'members': True,
29
+ 'show-inheritance': True,
30
+ }
31
+
32
+ intersphinx_mapping = {
33
+ 'python': ('https://docs.python.org/3', None),
34
+ 'requests': ('https://requests.readthedocs.io/en/stable/', None),
35
+ }
36
+
37
+ nitpicky = True
38
+ nitpick_ignore = [
39
+ # Type variable of the generic service classes, it has no documented target.
40
+ ('py:class', 'httpnet._core.T'),
41
+ ('py:obj', 'httpnet._core.T'),
42
+ ]
43
+
44
+ html_theme = 'furo'
45
+ html_static_path = ['_static']
46
+ html_title = f'httpnet {version}'
@@ -0,0 +1,61 @@
1
+ Synchronous and asynchronous requests
2
+ =====================================
3
+
4
+ Some requests are answered when the work is done, others are answered when the
5
+ work has been accepted. The difference is not visible in the Python signature,
6
+ and it matters for anything that acts on the result.
7
+
8
+ Two kinds of request
9
+ --------------------
10
+
11
+ Requests the API can satisfy on its own are processed synchronously. Listings,
12
+ reading a single object, creating a name server set — all of these touch only
13
+ the systems of the provider, and their response reflects the finished state.
14
+ They answer with a ``status`` of ``success``.
15
+
16
+ Requests that involve a third party are processed asynchronously. Registering,
17
+ transferring or deleting a domain has to reach a registry; updating a contact
18
+ has to be pushed to every registry that contact is connected to. These answer
19
+ with a ``status`` of ``pending``. The response says the request was accepted
20
+ and well-formed. It does not say the domain was registered.
21
+
22
+ The package treats both as success, because both mean the request was not
23
+ rejected. Neither raises.
24
+
25
+ What pending means for the caller
26
+ ---------------------------------
27
+
28
+ A method that returns after a pending response has returned a promise, not a
29
+ result. The object it hands back reflects the request that was made, not the
30
+ state of the world. Code that deletes a domain and immediately lists domains
31
+ may well still see it. Code that creates a zone and immediately queries the
32
+ name servers may not get an answer yet.
33
+
34
+ Where this bites hardest is in loops that verify their own work. A batch job
35
+ that updates a hundred contacts and then reads them back to confirm the change
36
+ will find most of them unchanged, because the updates are still travelling to
37
+ the registries.
38
+
39
+ Jobs
40
+ ----
41
+
42
+ Asynchronous work is tracked by job objects, which the
43
+ :class:`~httpnet.domain.JobService` lists. A job records what was attempted,
44
+ which object it concerns, its current state, and the errors it ran into. An
45
+ update that touches several registries produces a separate job for each of
46
+ them, so one call can turn into several jobs.
47
+
48
+ Jobs are read-only. They are created by the API as a side effect of the work it
49
+ does, which is why the service that exposes them offers nothing but reading.
50
+
51
+ Poll messages
52
+ -------------
53
+
54
+ The API also pushes the outcome of asynchronous requests as poll messages, and
55
+ provides a ``clientTransactionId`` on every request so that responses and polls
56
+ can be matched back to the request that caused them.
57
+
58
+ Neither is supported by this package. Following an asynchronous operation
59
+ through to its conclusion currently means polling the job service. Whether that
60
+ is good enough depends on what the calling code does with the result: fire and
61
+ forget is fine, verifying the outcome is not.
@@ -0,0 +1,208 @@
1
+ Where the API differs from its documentation
2
+ ============================================
3
+
4
+ The models and service classes of this package were written from the `official
5
+ API documentation <https://www.http.net/docs/api/>`__. The live API does not
6
+ match it everywhere. This page collects the deviations the package has to work
7
+ around, so that the special cases in the code do not look arbitrary.
8
+
9
+ How these were established
10
+ --------------------------
11
+
12
+ The documented objects and methods were read from the API documentation as it
13
+ stood on 2026-07-31. The behaviour of the live API was observed by calling
14
+ ``partner.http.net`` with a single account on the same day, using only reading
15
+ methods. The sample was 63 domains, 20 contacts, 155 jobs, 71 zone
16
+ configurations, 1222 records and 1 template.
17
+
18
+ Two limits follow from that. Anything the account does not hold could not be
19
+ checked — it has no mailboxes, so the mail service is covered far less
20
+ thoroughly than the domain and DNS services. And a field that never appeared
21
+ may still exist for products the account does not use. The list below is a
22
+ lower bound, not a closed set.
23
+
24
+ Undocumented fields
25
+ -------------------
26
+
27
+ The API returns fields the documentation does not list.
28
+ :meth:`~httpnet._core.Element.from_json` rejects any field its element does not
29
+ declare, so each of these made an entire listing unreadable until it was added.
30
+ Elements mark them with an ``# undocumented`` comment.
31
+
32
+ .. list-table::
33
+ :header-rows: 1
34
+ :widths: 30 70
35
+
36
+ * - Element
37
+ - Fields the documentation does not list
38
+ * - :class:`~httpnet.domain.Contact`
39
+ - ``comments``, ``disclose``, ``emailIsVerified``, and the whole block of
40
+ ``ext…`` fields carrying registry-specific data
41
+ * - :class:`~httpnet.domain.Domain`
42
+ - ``bundleId``, ``deletionScheduledFor``, ``dnsSecEntries``,
43
+ ``latestDeletionDateWithoutRenew``, ``paidUntil``, ``productCode``,
44
+ ``renewOn``, ``restorableUntil``, ``restrictions``,
45
+ ``transferLockedByOwnerChangeUntil``, ``trusteeServiceEnabled``
46
+ * - :class:`~httpnet.domain.Job`
47
+ - ``action``, ``comments``, ``events``, ``objectId``, ``objectType``,
48
+ ``subState``, ``status``, ``subStatus``, ``triggeredBy``
49
+ * - :class:`~httpnet.domain.DomainStatusResult`
50
+ - ``earlyAccessStart``, ``extension``, ``generalAvailabilityStart``,
51
+ ``landrushStart``, ``launchPhase``, ``premiumPrices``, ``registrarTag``,
52
+ ``sunriseStart``, ``transferOwnerHandling``
53
+ * - :class:`~httpnet.dns.ZoneConfig`
54
+ - ``addDate``, ``restorableUntil``
55
+ * - :class:`~httpnet.dns.DnsRecord`
56
+ - ``comments``, ``zoneConfigId``, ``accountId``, ``addDate``
57
+ * - :class:`~httpnet.dns.NameserverSet`
58
+ - ``type``, ``addDate``, ``lastChangeDate``
59
+ * - :class:`~httpnet.dns.Template`
60
+ - ``emailAddress``, ``addDate``, ``lastChangeDate``
61
+
62
+ ``premiumPrices`` is the one field that is not modelled. It is a deeply nested
63
+ price structure — amounts per operation, currencies, exchange rates and
64
+ promotion periods — sent only for premium domains. It is declared as a plain
65
+ mapping and passed through unchanged.
66
+
67
+ Two fields for one thing
68
+ ------------------------
69
+
70
+ :class:`~httpnet.domain.Job` reports ``state`` and ``status`` side by side, and
71
+ likewise ``subState`` and ``subStatus``. Both pairs arrive in the same
72
+ response, and only ``state`` is documented. The element declares all four
73
+ rather than guess which is authoritative.
74
+
75
+ Fields that are documented but never sent
76
+ -----------------------------------------
77
+
78
+ :class:`~httpnet.dns.DnsRecord` declares ``zone_id`` because the documentation
79
+ lists it, but it appeared in none of the 1222 records that were read. The API
80
+ identifies the zone of a record with the undocumented ``zoneConfigId`` instead.
81
+ The documented field is kept, since an element that does not declare a field
82
+ cannot receive it.
83
+
84
+ Most elements cannot be retrieved individually
85
+ ----------------------------------------------
86
+
87
+ The API names its methods after the element, and the package derives those
88
+ names from the class name of the element. That pattern suggests a ``widgetInfo``
89
+ for every ``Widget``, but the documentation describes only two such methods,
90
+ ``domainInfo`` and ``contactInfo``. There is no listing of the others, and
91
+ calling them confirms they do not exist — the following all answer with HTTP
92
+ 404:
93
+
94
+ ``jobInfo``, ``zoneConfigInfo``, ``recordInfo``, ``zoneInfo``,
95
+ ``nameserverSetInfo``, ``templateInfo``, ``mailboxInfo``,
96
+ ``organizationInfo``, ``domainSettingsInfo``
97
+
98
+ This is a gap in the pattern rather than a contradiction of the documentation,
99
+ and it is why :meth:`~httpnet._core.Service.get` does not use the ``Info``
100
+ method by default. It filters the listing for the ID instead, which every
101
+ service supports, and raises :exc:`KeyError` when nothing matches.
102
+ :class:`~httpnet.domain.DomainService` overrides it to use ``domainInfo``,
103
+ which takes a domain name rather than an ID and reports an unknown name as a
104
+ :class:`~httpnet._core.ServiceException`.
105
+
106
+ Filter fields do not always follow the element
107
+ ----------------------------------------------
108
+
109
+ Retrieving by ID relies on filtering a listing for ``<Element>Id``, which the
110
+ API spells with a leading capital. Unknown filter fields are rejected with
111
+ error 11102, which makes the accepted spelling easy to establish, and two
112
+ listings stand out:
113
+
114
+ ``zonesFind``
115
+ rejects ``ZoneId``. A zone is identified by its configuration, so the
116
+ filter is ``ZoneConfigId``.
117
+
118
+ ``domainSettingsFind``
119
+ rejects ``DomainSettingsId`` and ``DomainNameUnicode``. Domain settings
120
+ carry no ID of their own and are keyed by ``DomainName``.
121
+
122
+ :class:`~httpnet.dns.ZoneService` and
123
+ :class:`~httpnet.email.DomainSettingsService` override the derived name
124
+ accordingly.
125
+
126
+ Undocumented enumeration values
127
+ -------------------------------
128
+
129
+ ``domainStatus`` reports ``transferMethod`` values beyond the documented ones.
130
+ Suffixes transferred by registrar tag, such as ``uk``, answer with ``pushTag``,
131
+ which :class:`~httpnet.domain.TransferMethod` declares as
132
+ :attr:`~httpnet.domain.TransferMethod.PUSH_TAG`.
133
+
134
+ :class:`~httpnet.dns.RecordType` deviates in both directions. The documentation
135
+ lists ``CERT``, ``DNSKEY``, ``NSEC``, ``NSEC3``, ``NSEC3PARAM``,
136
+ ``OPENPGPKEY``, ``RRSIG`` and ``SSHFP``, which the enumeration now declares. It
137
+ does not list ``SOA``, yet every zone answers with the SOA record of its zone,
138
+ so that value is declared as well.
139
+
140
+ Missing values do not raise. A field annotated with an enumeration and ``None``
141
+ falls back to the raw string when the value does not convert, so the attribute
142
+ silently changes type from the enumeration to :class:`str` instead of failing.
143
+ That makes a missing value worth reporting rather than tolerating.
144
+
145
+ The mail service is modelled more loosely than it is documented
146
+ ---------------------------------------------------------------
147
+
148
+ The documentation describes a separate object per mailbox type — ``ImapMailbox``,
149
+ ``Forwarder``, ``SmtpForwarder``, ``MailingList`` and ``Catchall`` — each with
150
+ its own fields. :class:`~httpnet.email.Mailbox` collapses them into a single
151
+ element whose type-specific fields are optional, and
152
+ :class:`~httpnet.email.MailboxType` covers only ``ImapMailbox``, ``Forwarder``
153
+ and an ``ExchangeMailbox`` that the documentation does not describe. Mailing
154
+ lists, catchalls, SMTP forwarders and the documented ``autoResponder`` settings
155
+ are not modelled.
156
+
157
+ None of this could be checked against the live API, because the account holds
158
+ no mailboxes. It is recorded here as a known gap rather than a confirmed
159
+ deviation.
160
+
161
+ The email organization service does not answer
162
+ ----------------------------------------------
163
+
164
+ :attr:`~httpnet.client.HttpNetClient.email_organizations` is the one service
165
+ that could not be made to work. ``organizationsFind`` answers with HTTP 404, as
166
+ do ``organizationFind``, ``organisationsFind``, ``exchangeOrganizationsFind``
167
+ and the same names under an ``exchange`` service. ``mailboxesFind`` and
168
+ ``domainSettingsFind`` succeed against the same service, so the ``email``
169
+ service itself is reachable and the account is permitted to use it.
170
+
171
+ The documentation offers no help: it describes no organization object or method
172
+ for the mail service at all. The only documented ``Organization`` belongs to
173
+ the SSL service, where it is part of a certificate order and unrelated. Whether
174
+ the mail service names the method differently or does not offer it on this
175
+ platform could not be decided from outside.
176
+
177
+ Method names that do not match the documentation
178
+ ------------------------------------------------
179
+
180
+ Two methods of :class:`~httpnet.dns.ZoneService` are spelled with a plural
181
+ ``Templates`` where the documentation gives a singular ``Template``:
182
+
183
+ .. list-table::
184
+ :header-rows: 1
185
+ :widths: 40 30 30
186
+
187
+ * - Method
188
+ - Name used by the package
189
+ - Name in the documentation
190
+ * - ``ZoneService.untie_from_templates``
191
+ - ``zonesUntieFromTemplates``
192
+ - ``zonesUntieFromTemplate``
193
+ * - ``ZoneService.tie_to_templates``
194
+ - ``zonesTieToTemplates``
195
+ - ``zonesTieToTemplate``
196
+
197
+ Unlike every other item on this page, this one is **unverified**. Both methods
198
+ write, and the only way to find out which spelling the live API routes is to
199
+ call them, which would tie or untie zones. The package therefore keeps its
200
+ current names until someone can check them against a test account.
201
+
202
+ Services the package does not cover
203
+ -----------------------------------
204
+
205
+ The documentation describes an SSL service — certificate orders, CSRs,
206
+ validation and issued certificates — which the package does not implement at
207
+ all. Within DNS, the documented DNSSEC objects and the ``zoneRestore`` and
208
+ ``zonePurgeRestorable`` methods are likewise absent.