Skip to content

Commit

Permalink
update api links to point to new docs (#548)
Browse files Browse the repository at this point in the history
## 📝 Description

**What does this PR do and why is this change necessary?**

Updated all instances of developers.linode.com to techdocs.akamai.com.
  • Loading branch information
jriddle-linode authored Jul 15, 2024
1 parent e8e27e5 commit c4e35af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![GoDoc](https://godoc.org/github.com/linode/linodego?status.svg)](https://godoc.org/github.com/linode/linodego)
[![Go Report Card](https://goreportcard.com/badge/github.com/linode/linodego)](https://goreportcard.com/report/github.com/linode/linodego)

Go client for [Linode REST v4 API](https://developers.linode.com/api/v4)
Go client for [Linode REST v4 API](https://techdocs.akamai.com/linode-api/reference/api)

## Installation

Expand All @@ -17,7 +17,7 @@ go get -u github.com/linode/linodego

See [godoc](https://godoc.org/github.com/linode/linodego) for a complete reference.

The API generally follows the naming patterns prescribed in the [OpenAPIv3 document for Linode APIv4](https://developers.linode.com/api/v4).
The API generally follows the naming patterns prescribed in the [OpenAPIv3 document for Linode APIv4](https://techdocs.akamai.com/linode-api/reference/api).

Deviations in naming have been made to avoid using "Linode" and "Instance" redundantly or inconsistently.

Expand Down
2 changes: 1 addition & 1 deletion instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

/*
* https://developers.linode.com/v4/reference/endpoints/linode/instances
* https://techdocs.akamai.com/linode-api/reference/post-linode-instance
*/

// InstanceStatus constants start with Instance and include Linode API Instance Status values
Expand Down
2 changes: 1 addition & 1 deletion profile_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Token struct {
ID int `json:"id"`

// The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
// Valid values are "*" or a comma separated list of scopes https://developers.linode.com/api/v4/#o-auth
// Valid values are "*" or a comma separated list of scopes https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference
Scopes string `json:"scopes"`

// This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for. (1-100 Characters)
Expand Down

0 comments on commit c4e35af

Please sign in to comment.