{% extends "base.html" %} {% load static %} {% block title %}API Endpoint Details - Integration{% endblock %} {% block content %}
| Name: | {{ object.name }} |
| External System: | {{ object.external_system.name }} |
| URL: | {{ object.url }} |
| Method: | {{ object.method }} |
| Status: | {{ object.get_status_display }} |
| Health Status: | {% if object.health_status %} {{ object.health_status }} {% else %} Not tested {% endif %} |
| Last Tested: | {{ object.last_tested|date:"M d, Y H:i"|default:"Never" }} |
| Response Time: | {{ object.last_response_time|default:"--" }}ms |
| Success Rate: | {{ object.success_rate|floatformat:1 }}% |
| Created: | {{ object.created_at|date:"M d, Y H:i" }} |
| Timeout: | {{ object.timeout|default:"30" }} seconds |
| Retry Count: | {{ object.retry_count|default:"3" }} |
| Content Type: | {{ object.content_type|default:"application/json" }} |
| Authentication: | {{ object.auth_type|default:"None" }} |
| Expected Status: | {{ object.expected_status_code|default:"200" }} |
| Response Format: | {{ object.response_format|default:"JSON" }} |
| Validation: | {{ object.validate_response|yesno:"Enabled,Disabled" }} |
| Logging: | {{ object.log_requests|yesno:"Enabled,Disabled" }} |
| Header | Value |
|---|---|
{{ header }} |
{{ value }} |
| Parameter | Type | Required | Default Value |
|---|---|---|---|
{{ param.name }} |
{{ param.type }} | {{ param.required|yesno:"Yes,No" }} | {{ param.default_value|default:"--" }} |
| Test Date | Status | Response Time | Status Code | Result | Actions |
|---|---|---|---|---|---|
| {{ test.tested_at|date:"M d, Y H:i" }} | {{ test.success|yesno:"Success,Failed" }} | {{ test.response_time }}ms | {{ test.status_code }} | {% if test.error_message %} {{ test.error_message|truncatechars:50 }} {% else %} OK {% endif %} |
| Status: | {{ object.external_system.get_status_display }} |
| Version: | {{ object.external_system.version|default:"Unknown" }} |
| Base URL: | {{ object.external_system.base_url }} |