hnhdigital-os/php-linode-api

View on GitHub
spec-old/Profile.yml

Summary

Maintainability
Test Coverage
endpoint: profile
description: Profile.
url: https://developers.linode.com/v4/reference/profile
load-method: get
fillable: true

get:

  get:
    description: Returns your user information.
    url: https://developers.linode.com/v4/reference/endpoints/profile#GET
    endpoint:
    auto-fill: true

  grants:
    description: Return grants for your user. If your user is unrestricted, this returns an error. Hides entities that your user has no access to that would be visible to an unrestricted user.
    url: https://developers.linode.com/v4/reference/endpoints/profile/grants#GET
    endpoint: /grants
    auto-fill: grants

put:

  update:
    description: Edits your user's profile.
    url: https://developers.linode.com/v4/reference/endpoints/profile#PUT
    endpoint: 
    attributes: true

post:

  password:
    description: Edits your user's profile.
    url: https://developers.linode.com/v4/reference/endpoints/profile/password
    endpoint: /password

    parameters:

        password:
            type: string
            description: Password.