{% extends "djmongo/console/base.html" %} {% block Content %} {% load i18n %}


Read API with No Authentication (Public)

{% for a in simple_public_read_apis %} {% endfor %}
Slug (Name) HTTP Method URL Actions
{{a.slug}}
GET
{% url 'djmongo_api_public_simple_search' database_name collection_name a.slug 'json' %}|ndjson|csv|txt|html

Read API with Basic HTTP Authentication

{% for a in simple_httpauth_read_apis %} {% endfor %}
Slug (Name) HTTP Method Groups URL Actions
{{a.slug}}
GET
{% for g in a.groups.all %} {{g.name}}
{% endfor %} {% if not a.groups.all %} None {% endif %}
{% url 'djmongo_api_httpauth_simple_search' database_name collection_name a.slug 'json' %}|ndjson|csv|txt|html

Read API with IP-Based Authentication

{% for a in simple_ipauth_read_apis %} {% endfor %}
Slug (Name) HTTP Method IP URL Actions
{{a.slug}}
GET
{{a.from_ip}}
{% url 'djmongo_api_ipauth_simple_search' database_name collection_name a.slug 'json' %}|ndjson|csv|txt|html

Read API with OAuth2 Authentication

{% for a in simple_oauth2_read_apis %} {% endfor %}
Slug (Name) HTTP Method Scope URL Actions
{{a.slug}}
GET
{{a.scopes}}
{% url 'djmongo_api_oauth2_simple_search' database_name collection_name a.slug 'json' %}|ndjson|csv|txt|html

Macro Read API with No Authentication (Public)

{% for a in custom_public_read_apis %} {% endfor %}
Slug (Name) HTTP Method URL Actions
{{a.slug}}
GET
{{a.url}}

Macro Read API with Basic Authentication

{% for a in custom_httpauth_read_apis %} {% endfor %}
Slug (Name) HTTP Method Groups URL Actions
{{a.slug}}
GET
{% for g in a.groups.all %} {{g.name}}
{% endfor %}
{% url 'djmongo_run_custom_httpauth_read_api_by_slug' a.slug %}

Macro Read API with IP-Based Authentication

{% for a in custom_ipauth_read_apis %} {% endfor %}
Slug (Name) HTTP Method IP URL Actions
{{a.slug}}
GET
{{a.from_ip }}
{% url 'djmongo_run_custom_ipauth_read_api_by_slug' a.slug %}

Macro Read API with OAuth2 Authentication

{% for a in custom_oauth2_read_apis %} {% endfor %}
Slug (Name) HTTP Method Scopes URL Actions
{{a.slug}}
GET
{{a.socpes }}
{% url 'djmongo_run_custom_oauth2_read_api_by_slug' a.slug %}

-Write APIs-

Write API with Basic Authentication

{% for a in httpauth_write_apis %} {% endfor %}
Slug (Name) HTTP Methods Groups URL Actions
{{a.slug}}
{{a.http_methods}}
{% for g in a.groups.all %} {{g.name}}
{% endfor %} {% if not a.groups.all %} None {% endif %}
{% url 'djmongo_api_write_to_collection_with_httpauth' a.slug %}

Write API with IP-Based Authentication

{% for a in ip_write_apis %} {% endfor %}
Slug (Name) HTTP Methods IP URL Actions
{{a.slug}}
{{a.http_methods}}
{{a.from_ip}}
{% url 'djmongo_api_write_to_collection_with_ip' a.slug %}

Write API with OAuth2 Authentication

(An OAuth2 server is needed to execute these APIs)

{% for a in oauth2_write_apis %} {% endfor %}
Slug (Name) HTTP Methods Scopes URL Actions
{{a.slug}}
{{a.http_methods}}
{{a.scopes}}
{% url 'djmongo_api_write_to_collection_with_oauth2' a.slug %}
{% endblock %}