rest
A representational state transfer (REST) API is a way to provide compatibility between computer systems on the Internet. The concept was first outlined in a dissertation by Roy Fielding in 2000.
Here are 682 public repositories matching this topic...
Jumping to a subsection via the sidenav will sometimes cause the page header to overlap the anchor point. When navigation is working correctly, there's a perceptible flicker/jump, so I'm guessing javascript is being used to calculate the offsets. Looking at mkdocs's docs, this isn't an issue. I'm wondering if this is something that will be fixed by upgrading mkdocs (#6623), or if it's a theme issu
Is your feature request related to a problem
Coming from this issue: tiangolo/fastapi#817
The docs have some sections with functions using *, in the parameters.
It is explained here: https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/#order-the-parameters-as-you-need-tricks
But in other sections like: https://fastapi.tiangolo.com/tutor
Currently, we ask contributors to strive for consistency with existing code, but it would be helpful to clarify the following regarding docstrings:
- Docstrings should begin with a short (~70 characters or less) summary line that ends in a period.
- The summary line should begin immediately after the opening quotes (do not add a line break before the summary line)
- The summary line should de
I want to get the updated document from Python Eve via the on_updated callbacks. All I can get right now are the updates and the original. I can update the original myself, but I see from the source code that is done right after the callback.
It would be good if the callback would provide the updated version as well.
Please provide a way to get the UPDATED document since we are using this
-
Updated
May 26, 2020 - Python
Following the instructions here I'm trying to create an endpoint in a Tornado app that shows the API documentation. I'm setting up a static file handler similar to this:
from pathlib import Path
import apistar
from tornado.web import StaticFileHandler
# ...
apistar_static_path = Path(apistar.__file__).parIn FAB Security Views we can see some logic related to whitelists.
What we do not see in the Superset or FAB documentation is any mention on how to set them up and what effect they have.
Documentation on this would be useful.
Attempting to return the following data structure to the user and document properly in swagger:
{ 'dynamic_key_1': ['string1', 'string2'], 'dynamic_key_2': ['string3]', ... }
i.e. a dictionary with dynamic keys, where values are a list of strings.
Using the example from here can get simple dynamic
If using a custom authentication token model, the related_name cannot be auth_token or that will clash with the default token model related name and the django project will fail to start.
The RegisterView returns an authentication token using user.auth_token. Since the related name for a custom token model had to be changed, user.auth_token does not actually exist.
As a workaround a
Python 3.8, using Autobahn|Py 20.3.1, and Crossbar from crossbario/crossbar:pypy3-20.2.1
What I'm trying to do is have a pool of workers handling an endpoint with shared registration (roundrobin), and after a set number of invocations, a worker will unregister itself and exit so that a fresh process can take its' place.
Steps:
- create two processes; each connects to Crossbar and registers
I'm new to rest_framework but I'm using drf in combination with redoc and this library and it seems to work fantastic.
I was wondering how can I generate custom sections of the documentation for objects that are commonly reused across all API calls. For example, I have a token object that is query/post parameter so I would like this to be explained topic in its own section.
With the help of
Thanks for making such great code. I've got an instance running and am trying to document the ways that I can query the API.
So far, I've found:
- ?page=2
- ?[columnheader]=[value]
- ?[columnheader1]=[value1]&[columnheader3]=[value4] (returns results that have both value1 and value2)
- ?[columnheader1]=[value1]&[columnheader1]=[value2] (returns results that have value1 OR value2)
I'
I love this library and use it for several different projects. There have been a few times where I've had to open issues, and the team working on this has always been great.
That being said I'd love to help more, possibly by opening PRs rather than issues. The place I get stuck at those is navigating the internals of the pr
LXD support ?
Hi !
Are you planning to support LXD soon ?
Supporting LXD would be absolutely awesome, no more local daemon + beneftis of lxd raw protocol ...
Thanks for this project !
-
Updated
May 30, 2020 - Python
Please provide examples on connecting to DATBASE TABLES - New to Flask-RestX
Their doesn't appear to be any sort of guidelines for the code base which leads to some confusing formatting as seen in the pull above.
I would suggest standardizing in some way.
Going with Pep8 is an easy choice and is often well integrated into many editors.
In https://github.com/atlassian-api/atlassian-python-api/blob/master/docs/confluence.rst I could not find the documentation for the expand= parameter.
I want to get the page content and I had to read the source code to find that confluence.get_page_by_id(page_id, expand='body.storage') does what I want.
The Table of Contents does not show all the sections in the Install Guide, and the First Start section needs to be updated starting with the title and correcting other verbiage issues within the section text.
-
Updated
Nov 12, 2019 - Python
-
Updated
Apr 30, 2020 - Python
I want to run Authentication example
code with python3, but not work
and raise Unicode-objects must be encoded before hashin
def encrypt(self, password):
"""Encrypt password using hashlib and current salt.
"""
return str(hashlib.sha1(password + str(self.salt))\
-
Updated
Mar 16, 2020 - Python
It's not clear from the website's documentation, or the
--helpoutput, how to do the following equivalent curl task:Post a raw JSON query to ElasticSearch:
T