コード例 #1
0
ファイル: endpoints.py プロジェクト: dssg/skills-api
    def get(self):
        """GET operation for the endpoint class.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api("allunusualjobsendpoint")
コード例 #2
0
    def get(self):
        """GET operation for the endpoint class.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api('allunusualjobsendpoint')
コード例 #3
0
ファイル: endpoints.py プロジェクト: dssg/skills-api
    def get(self):
        """GET operation for the endpoint class.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api("skillnameautocompleteendpoint")
コード例 #4
0
    def get(self):
        """GET operation for the endpoint class.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api('skillnameautocompleteendpoint')
コード例 #5
0
ファイル: endpoints.py プロジェクト: dssg/skills-api
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional skill UUID.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api("skillnameandfrequencyendpoint", id=id)
コード例 #6
0
ファイル: endpoints.py プロジェクト: dssg/skills-api
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional job UUID.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api("associatedjobsforjobendpoint", id=id)
コード例 #7
0
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional skill UUID.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api('skillnameandfrequencyendpoint', id=id)
コード例 #8
0
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional job UUID.

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api('associatedjobsforjobendpoint', id=id)
コード例 #9
0
ファイル: endpoints.py プロジェクト: dssg/skills-api
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional O*NET SOC Code to query for. All job titles if none
            specified. 

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api("jobtitlefromonetcodeendpoint", id=id)
コード例 #10
0
    def get(self, id=None):
        """GET operation for the endpoint class.

        Args:
            id: Optional O*NET SOC Code to query for. All job titles if none
            specified. 

        Returns: 
            A redirect to the appropriate API version as specified by the 
            accept or custom header.

        """
        return route_api('jobtitlefromonetcodeendpoint', id=id)