diff options
Diffstat (limited to 'src/mailman/interfaces/api.py')
| -rw-r--r-- | src/mailman/interfaces/api.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mailman/interfaces/api.py b/src/mailman/interfaces/api.py index 8096f40eb..3ba158b35 100644 --- a/src/mailman/interfaces/api.py +++ b/src/mailman/interfaces/api.py @@ -25,7 +25,11 @@ from zope.interface import Attribute, Interface class IAPI(Interface): """The REST web service context.""" - version = Attribute("""The REST API version.""") + version = Attribute( + """The REST API version as a string.""") + + version_info = Attribute( + """The REST API version as a tuple of integers.""") def path_to(resource): """Return the full REST URL to the given resource. |
