{"id":13708294,"url":"https://github.com/wimglenn/djangorestframework-queryfields","last_synced_at":"2025-05-15T04:00:26.709Z","repository":{"id":49129120,"uuid":"71391449","full_name":"wimglenn/djangorestframework-queryfields","owner":"wimglenn","description":"Allows clients to control which fields will be sent in the API response","archived":false,"fork":false,"pushed_at":"2024-11-05T02:08:25.000Z","size":46,"stargazers_count":219,"open_issues_count":7,"forks_count":18,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-14T03:11:57.686Z","etag":null,"topics":["django","django-rest-framework","libraries","python","python-2","python-3","rest-api"],"latest_commit_sha":null,"homepage":"http://djangorestframework-queryfields.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wimglenn.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-19T19:20:01.000Z","updated_at":"2025-04-12T22:47:03.000Z","dependencies_parsed_at":"2024-06-18T15:32:27.164Z","dependency_job_id":"91c11dea-dafa-4ffd-b187-9c256b5d3945","html_url":"https://github.com/wimglenn/djangorestframework-queryfields","commit_stats":{"total_commits":60,"total_committers":5,"mean_commits":12.0,"dds":0.4,"last_synced_commit":"47aa282233ffeda37b4f99fd3a531abae0914697"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fdjangorestframework-queryfields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fdjangorestframework-queryfields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fdjangorestframework-queryfields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fdjangorestframework-queryfields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wimglenn","download_url":"https://codeload.github.com/wimglenn/djangorestframework-queryfields/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270640,"owners_count":22042858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","libraries","python","python-2","python-3","rest-api"],"created_at":"2024-08-02T23:00:19.828Z","updated_at":"2025-05-15T04:00:26.643Z","avatar_url":"https://github.com/wimglenn.png","language":"Python","readme":"Django REST framework QueryFields\n=================================\n\n|gh| |codecov| |pypi| |womm|\n\n.. |gh| image:: https://github.com/wimglenn/djangorestframework-queryfields/actions/workflows/main.yml/badge.svg\n.. _gh: https://github.com/wimglenn/djangorestframework-queryfields/actions\n\n.. |codecov| image:: https://codecov.io/gh/wimglenn/djangorestframework-queryfields/branch/main/graph/badge.svg?token=WeqbZ83YRg\n.. _codecov: https://codecov.io/gh/wimglenn/djangorestframework-queryfields\n\n.. |pypi| image:: https://img.shields.io/pypi/v/djangorestframework-queryfields.svg\n.. _pypi: https://pypi.org/project/djangorestframework-queryfields\n\n.. |womm| image:: https://cdn.rawgit.com/nikku/works-on-my-machine/v0.2.0/badge.svg\n.. _womm: https://github.com/nikku/works-on-my-machine\n\nAllows clients to control which fields will be sent in the API response.  Fields are specified in the query, e.g.\n\n.. code-block:: \n\n    # You want a list of users but you're only interested in the fields \"id\" and \"username\":\n    \n    GET /users/?fields=id,username\n    \n    [\n      {\n        \"id\": 1,\n        \"username\": \"tom\"\n      },\n      {\n        \"id\": 2,\n        \"username\": \"wim\"\n      }\n    ]\n\n    \n    # You want to see every field except \"id\" for the specific user wim:\n    \n    GET /users/2/?fields!=id\n    \n    {\n      \"username\": \"wim\",\n      \"email\": \"hey@wimglenn.com\",\n      \"spirit_animal\": \"raccoon\"\n    }\n\n**Supported Django versions**: 1.7 - 3.2+.  Check the `CI matrix \u003chttps://github.com/wimglenn/djangorestframework-queryfields/blob/main/.github/workflows/main.yml/\u003e`_ for details.\n\nDocumentation is hosted on `Read The Docs \u003chttp://djangorestframework-queryfields.readthedocs.io/\u003e`_.\n\nDevelopers, developers, developers!\n-----------------------------------\n\nWant to contribute to the project? This is how to run the test suite:\n\n.. code-block:: bash\n\n   # get the codez\n   git clone https://github.com/wimglenn/djangorestframework-queryfields.git\n\n   # create and/or activate your virtualenv, this or something like it:\n   cd djangorestframework-queryfields\n   python3 -m venv .venv\n   source .venv/bin/activate\n\n   # installing the app in your venv\n   pip install --editable \".[dev]\"\n   git checkout -b myfeature\n\n   # hack away, then ...\n   pytest\n","funding_links":[],"categories":["Database"],"sub_categories":["Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwimglenn%2Fdjangorestframework-queryfields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwimglenn%2Fdjangorestframework-queryfields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwimglenn%2Fdjangorestframework-queryfields/lists"}